Skip to content

Commit

Permalink
fix(documenttation): remove horizontal scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschuerch committed Jul 15, 2024
1 parent 822fd9d commit 0a2cf2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-drinks-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Removed horizontal scrollbar showing up in Firefox, when a docs specific tab component is present on the page.
4 changes: 4 additions & 0 deletions packages/documentation/.storybook/styles/preview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@
}
}

#storybook-docs {
overflow-x: hidden;
}

.fake-content {
position: relative;
min-height: calc(1.6rem * 8);
Expand Down

0 comments on commit 0a2cf2c

Please sign in to comment.