Browse Source

修改导航栏高度自适应

zengyicheng 2 years ago
parent
commit
c3c2d58269
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/components/pages/race/eventCenter/anliDetail.vue

+ 4 - 3
src/components/pages/race/eventCenter/anliDetail.vue

@@ -3284,7 +3284,7 @@ export default {
     width: 55% !important;
   }
   .leftNav {
-    top: 70% !important;
+    top: 60% !important;
     transform: translateY(-25%) !important;
   }
   .isleftNav {
@@ -4023,10 +4023,11 @@ ol {
 .leftNav {
   position: fixed;
   left: 4%;
-  top: 70%;
+  top: 75%;
   transform: translateY(-60%);
   z-index: 999;
   max-width: 225px;
+  height: calc(100% - 169px - 50px);
 }
 .topNav {
   background: #316b8c;
@@ -4049,7 +4050,7 @@ ol {
   border-bottom-left-radius: 5px;
   border-bottom-right-radius: 5px;
   box-sizing: border-box;
-  height: 460px;
+  height: 70%;
   overflow-y: auto;
   overflow-x: hidden;
 }