Przeglądaj źródła

Merge remote-tracking branch 'origin/master' into ohos

jxq 2 miesięcy temu
rodzic
commit
9dceb33905
1 zmienionych plików z 3 dodań i 10 usunięć
  1. 3 10
      src/views/modules/runTest/run-test.vue

+ 3 - 10
src/views/modules/runTest/run-test.vue

@@ -815,17 +815,13 @@ $color-progress: #3cbaff;
 }
 
 .runtest {
-  position: absolute;
-  top: 0;
-  left: 0;
-  right: 0;
-  bottom: 0;
   width: 100%;
-  height: 100%;
+  height: calc(100vh - $main-header-height);
   overflow: hidden;
   font-size: var(--hj-fs-12);
+  display: flex;
+  flex-direction: column;
   .content-A {
-    position: relative;
     width: 100%;
     height: 300px;
     background: linear-gradient(180deg, #404040 0%, #505050 100%);
@@ -1003,9 +999,6 @@ $color-progress: #3cbaff;
     }
   }
   .content-C {
-    position: absolute;
-    bottom: 0;
-    left: 0;
     width: 100%;
     height: 64px;
     background: linear-gradient(180deg, #434343 0%, #4f4f4f 100%);