Browse Source

style: 页面内全屏效果样式

* style: 页面内全屏效果样式
qingguizhang 3 years ago
parent
commit
f76f43ca0e
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/style/sidebar.scss

+ 12 - 0
src/style/sidebar.scss

@@ -32,6 +32,18 @@
     transition: width 0.28s;
   }
 
+  .main-hidden {
+    margin-left: 0 !important;
+
+    .fixed-header {
+      width: 100% !important;
+
+      + .app-main {
+        padding-top: 37px;
+      }
+    }
+  }
+
   .el-popper.is-light {
     border: none !important;
   }