Skip to content

Commit 47e5458

Browse files
committed
#92 specified explicit min-height for flex topmost container
1 parent aa0064b commit 47e5458

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

web/css/index.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ body {
179179

180180
@media (max-width: 992px) {
181181
#scriptsPanel {
182-
display: flex;
183182
flex-flow: column;
184183
}
185184

@@ -197,8 +196,16 @@ body {
197196
}
198197

199198
#script-panel-container {
200-
flex-grow: 1;
199+
flex: 1 1 auto;
201200
display: flex;
201+
202+
/* (firefox)
203+
we have to specify min-size explicitly, because by default it's content size.
204+
It means, that when child content is larger than parent, it will grow out of parent
205+
See https://drafts.csswg.org/css-flexbox/#min-size-auto
206+
and https://bugzilla.mozilla.org/show_bug.cgi?id=1114904
207+
*/
208+
min-height: 0;
202209
}
203210

204211
#script-panel-container.collapsed {

0 commit comments

Comments
 (0)