Skip to content

Commit

Permalink
fix: WEB-626 overflowing tabbed content (#6202)
Browse files Browse the repository at this point in the history
* Update fullwidth prop

* Add fullWidth prop to tabbedcontent
  • Loading branch information
carlagn authored Aug 19, 2024
1 parent e383271 commit 1513443
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5169,7 +5169,7 @@ const getUsers = await prisma.user.findMany({

The following query returns all users where the `sanctuaries` array contains the value `"RSPCA"`:

<TabbedContent>
<TabbedContent fullWidth>
<TabItem value="PostgreSQL">

```ts
Expand Down
3 changes: 3 additions & 0 deletions src/theme/Tabs/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.tabList {
margin-bottom: var(--ifm-leading);
&:has(.full-width) {
width: 100%;
}
}

.tabItem {
Expand Down

0 comments on commit 1513443

Please sign in to comment.