Procházet zdrojové kódy

style: 部分页面样式修改

ai0187 před 3 měsíci
rodič
revize
e0bbb15854

+ 3 - 1
src/App.vue

@@ -44,7 +44,8 @@
     height: 100%;
   }
   .content {
-    height: 100%;
+    // height: 100%;
+    height: calc(100vh - 78cpx);
     flex: 1;
     overflow-y: auto;
     overflow-x: hidden;
@@ -53,6 +54,7 @@
     justify-content: center;
 
     &.fixed-screen {
+      height: 100%;
       overflow-y: hidden;
     }
   }

+ 1 - 1
src/components/Nav.vue

@@ -229,7 +229,7 @@
   .header.use-px .header__nav--item {
     height: 45px;
     padding: 10px 20px;
-    font-size: 18px;
+    font-size: 16px;
     border-radius: 4px;
   }
 

+ 1 - 0
src/views/emergency/overview/PageOverview.vue

@@ -29,6 +29,7 @@
     width: 100%;
     height: 100%;
     display: flex;
+    overflow-y: hidden;
   }
 
   .left-container {

+ 1 - 1
src/views/security-confidentiality/overview/components/ConfidentialityPosition.vue

@@ -561,11 +561,11 @@
       }
 
       .empty-state {
+        height: calc(100% - 45px);
         display: flex;
         flex-direction: column;
         align-items: center;
         justify-content: center;
-        padding: 40px 20px;
         color: #999;
         gap: 12px;