diff --git a/components/layout/style/index.less b/components/layout/style/index.less index 3dfbb10fc..1b9f73425 100644 --- a/components/layout/style/index.less +++ b/components/layout/style/index.less @@ -41,6 +41,8 @@ transition: all .3s @ease-out; position: relative; background: @layout-sider-background; + /* fix firefox can't set width smaller than content on flex item */ + min-width: 0; &-has-trigger { padding-bottom: @layout-trigger-height;