diff --git a/components/layout/style/index.less b/components/layout/style/index.less index 73d27d9e6a..2bfa089a52 100644 --- a/components/layout/style/index.less +++ b/components/layout/style/index.less @@ -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 {