Commit 2b82f6b6 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

handler use flex

parent c961cca2
...@@ -116,7 +116,6 @@ class SettingDarwer extends PureComponent { ...@@ -116,7 +116,6 @@ class SettingDarwer extends PureComponent {
const { collapse, silderTheme, themeColor, layout, colorWeak } = setting; const { collapse, silderTheme, themeColor, layout, colorWeak } = setting;
return ( return (
<Drawer <Drawer
firstEnter={true}
visible={collapse} visible={collapse}
width={273} width={273}
onClose={this.togglerContent} onClose={this.togglerContent}
......
...@@ -55,7 +55,9 @@ ...@@ -55,7 +55,9 @@
width: 48px; width: 48px;
height: 48px; height: 48px;
right: 273px; right: 273px;
padding: 14px 14px; display: flex;
justify-content: center;
align-items: center;
cursor: pointer; cursor: pointer;
pointer-events: auto; pointer-events: auto;
z-index: 0; z-index: 0;
......
...@@ -36,4 +36,7 @@ ol { ...@@ -36,4 +36,7 @@ ol {
body .ant-drawer .ant-drawer-content { body .ant-drawer .ant-drawer-content {
opacity: 1; opacity: 1;
} }
body .anticon svg {
display: block;
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment