瀏覽代碼

Tweak styles

afc163 8 年之前
父節點
當前提交
92898b2996
共有 3 個文件被更改,包括 9 次插入2 次删除
  1. 1 1
      src/layouts/BasicLayout.js
  2. 7 0
      src/layouts/BasicLayout.less
  3. 1 1
      src/routes/Forms/StepForm/style.less

+ 1 - 1
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}
           >
             <div className={styles.logo}>
               <Link to="/">

+ 7 - 0
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;
+}

+ 1 - 1
src/routes/Forms/StepForm/style.less

@@ -55,5 +55,5 @@
 .money {
   font-weight: 500;
   font-size: 20px;
-  line-height: 22px;
+  line-height: 14px;
 }