Skip to content

Commit 90143e9

Browse files
committed
fix(chart-playground-web): stop editor panel content overflowing into the panel
below
1 parent ec3d516 commit 90143e9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • packages/pluggableWidgets/chart-playground-web/src/ui

packages/pluggableWidgets/chart-playground-web/src/ui/Sidebar.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,15 @@
8787

8888
.widget-custom-config {
8989
height: var(--top-panel-h);
90+
// --panel-header-1 and --editor-h are sized to sum exactly to --top-panel-h; flex +
91+
// overflow: hidden is a safety clamp if that arithmetic ever drifts (zoom rounding, a
92+
// header wrapping to two lines), not load-bearing for the normal case.
93+
display: flex;
94+
flex-flow: column nowrap;
95+
overflow: hidden;
9096

9197
.widget-panel-header {
98+
flex: 0 0 auto;
9299
justify-content: space-between;
93100
}
94101
}

0 commit comments

Comments
 (0)