Skip to content

Commit

Permalink
Merge pull request #883 from Infineon/881-sidebar-inner-content-heigh…
Browse files Browse the repository at this point in the history
…t-not-adjusting-when-screen-is-zoomed-out

Sidebar: inner content height is now flexible
  • Loading branch information
tishoyanchev authored Jan 12, 2024
2 parents efcd412 + 64de5a3 commit 3d9a7e7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/components/src/components/sidebar/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
flex-direction: column;
align-items: center;
padding: 0px;
flex: none;
flex: 1 1 auto;
order: 0;
flex-grow: 0;
z-index: 0;
width: 100%;
overflow-y: auto;

//max-height: 440px;
//overflow-y: auto;
Expand Down Expand Up @@ -95,13 +95,10 @@
flex-direction: column;
align-items: flex-start;
padding: 12px 32px;
flex: none;
flex: 1 1 auto;
order: 1;
flex-grow: 0;
width: 100%;

max-height: 440px;
overflow-y: auto;
overflow-y: auto;

& ::slotted(*) {
width: 100%;
Expand Down

0 comments on commit 3d9a7e7

Please sign in to comment.