Skip to content

Commit

Permalink
Try expanding inner panels to full height
Browse files Browse the repository at this point in the history
This allows custom select controls to expand without being cut off in Firefox for jumping as Safari/Chrome suddenly scroll to display the dropdown within the previous limited space.
  • Loading branch information
aaronrobertshaw committed Nov 25, 2021
1 parent a53c5c2 commit d87bba8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/edit-site/src/components/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@
}
}

.edit-site-global-styles-sidebar {
display: flex;
flex-direction: column;
height: 100%;

.components-panel,
.components-navigator-provider {
display: flex;
flex-direction: column;
flex: 1;
}

.components-navigator-screen {
flex: 1;
}
}

.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon {
margin-left: 0;
}
Expand Down

0 comments on commit d87bba8

Please sign in to comment.