diff --git a/.changeset/wise-news-raise.md b/.changeset/wise-news-raise.md new file mode 100644 index 0000000000..bce9f92c8d --- /dev/null +++ b/.changeset/wise-news-raise.md @@ -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. diff --git a/packages/styles/src/components/intranet-header/_sidebar.scss b/packages/styles/src/components/intranet-header/_sidebar.scss index b168548ac7..db7b734996 100644 --- a/packages/styles/src/components/intranet-header/_sidebar.scss +++ b/packages/styles/src/components/intranet-header/_sidebar.scss @@ -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;