diff --git a/components/layout/Sider.tsx b/components/layout/Sider.tsx index 50c34a7a1e..fd0e3f6518 100644 --- a/components/layout/Sider.tsx +++ b/components/layout/Sider.tsx @@ -215,7 +215,7 @@ class Sider extends React.Component { parseFloat(String(collapsedWidth || 0)) === 0 ? ( diff --git a/components/layout/style/index.less b/components/layout/style/index.less index 85138faa6d..d352c7e1a4 100644 --- a/components/layout/style/index.less +++ b/components/layout/style/index.less @@ -111,10 +111,6 @@ background: tint(@layout-sider-background, 10%); } - &-left { - right: -@layout-zero-trigger-width; - } - &-right { left: -@layout-zero-trigger-width; }