fix firefox can't set height smaller than content on flex item (#12295)

https://stackoverflow.com/questions/28636832/firefox-overflow-y-not-working-with-nested-flexbox/28639686#28639686
This commit is contained in:
Sepehr Mohammadi
2018-09-20 19:18:13 +04:30
committed by 偏右
parent db9e30047c
commit e8c2e7ce72

View File

@@ -8,6 +8,8 @@
flex-direction: column;
flex: auto;
background: @layout-body-background;
/* fix firefox can't set height smaller than content on flex item */
min-height: 0;
&,
* {
@@ -43,6 +45,8 @@
&-content {
flex: auto;
/* fix firefox can't set height smaller than content on flex item */
min-height: 0;
}
&-sider {