Skip to content

Commit

Permalink
fix(sidebar): inherit width for fixed sidebar (#858)
Browse files Browse the repository at this point in the history
Fixed an issue with the sidebar width. The fixed sidebar no longer spans the whole page and no longer hides the main page content beneath.
  • Loading branch information
gfellerph authored Dec 7, 2022
1 parent 370747e commit 147b864
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/wise-news-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-styles': patch
'@swisspost/design-system-intranet-header': patch
---

Fixed an issue with the sidebar width. The fixed sidebar no longer spans the whole page and no longer hides the main page content beneath.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
top: auto;
top: 0;
bottom: 0;
width: 100%;
width: inherit;
max-width: inherit;
margin-left: spacing.$spacer * -1;
padding: spacing.$spacer 0;
Expand Down

0 comments on commit 147b864

Please sign in to comment.