diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index ff0abd873843596452404350ed12bf30bc7086a2..4557367654c928a0992fae66ffedc94baf606206 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -188,8 +188,8 @@ class BasicLayout extends React.PureComponent { collapsedWidth={80} breakpoint="md" onCollapse={this.onCollapse} - style={{ minHeight: '100vh' }} width={256} + className={styles.sider} >
diff --git a/src/layouts/BasicLayout.less b/src/layouts/BasicLayout.less index 93e79150dd637269dab2c15c0e8460dc5629d742..538e795322156dba7093dcc7c2a83f8d8bc1c46f 100644 --- a/src/layouts/BasicLayout.less +++ b/src/layouts/BasicLayout.less @@ -100,3 +100,10 @@ overflow-x: hidden; } } + +.sider { + min-height: 100vh; + box-shadow: 2px 0 6px rgba(0, 21, 41, .35); + position: relative; + z-index: 1; +} diff --git a/src/routes/Forms/StepForm/style.less b/src/routes/Forms/StepForm/style.less index 16850fa5c54f4753696530af3e8890772f988978..36330941c18b496dd55842f42be2fec2659d8a24 100644 --- a/src/routes/Forms/StepForm/style.less +++ b/src/routes/Forms/StepForm/style.less @@ -55,5 +55,5 @@ .money { font-weight: 500; font-size: 20px; - line-height: 22px; + line-height: 14px; }