Skip to content

Commit

Permalink
fix: sidebar height lp#2021965 (#4946)
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski committed May 31, 2023
1 parent 0f27868 commit a329df3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ export const App = (): JSX.Element => {
<main className="l-main">
{isSideNavVisible ? (
<div
className={classNames("l-main__nav", {
"is-open": isSideNavVisible,
})}
className={classNames("l-main__nav", `is-maas-${theme}--accent`)}
>
<SecondaryNavigation
isOpen={!!isSideNavVisible}
Expand Down
2 changes: 1 addition & 1 deletion src/app/base/components/SecondaryNavigation/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

&,
.p-side-navigation__drawer {
height: 100%;
min-height: 100%;
}
.p-side-navigation__drawer {
transform: none;
Expand Down
1 change: 1 addition & 0 deletions src/scss/_patterns_application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
flex-shrink: 0;
overflow-y: auto;
height: 30%;
scrollbar-gutter: stable;

@media (min-width: $breakpoint-small) {
height: calc(100vh - 2.5rem);
Expand Down

0 comments on commit a329df3

Please sign in to comment.