From b236d733488f03b30df48436671733be13d47e02 Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Sat, 22 Apr 2017 10:38:44 +0800 Subject: [PATCH] fix firefox Layout.Sider can't collapse to zero width (#5833) --- components/layout/style/index.less | 2 ++ 1 file changed, 2 insertions(+) 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;