Browse Source

样式修复

fenggang 5 years ago
parent
commit
e52c8d1193

+ 3 - 3
2019专题/云顶之弈模拟器/src/components/index.vue

@@ -958,10 +958,10 @@ export default {
           z-index: 100;
           z-index: 100;
           .equipment-selector {
           .equipment-selector {
             position: absolute;
             position: absolute;
-            width: 474px;
-            height: 346px;
+            width: 460px;
             left: calc(50% - 237px);
             left: calc(50% - 237px);
-            top: calc(50% - 173px);
+            top: 50%;
+            transform: translateY(-50%);
             border: 1px solid #ffca57;
             border: 1px solid #ffca57;
             background-color: black;
             background-color: black;
             box-sizing: border-box;
             box-sizing: border-box;

+ 1 - 0
2019专题/云顶之弈模拟器/src/components/shareDetail.vue

@@ -175,6 +175,7 @@ export default {
     pre.desc {
     pre.desc {
       margin: 25px auto 45px auto;
       margin: 25px auto 45px auto;
       line-height: 2;
       line-height: 2;
+      white-space: pre-wrap;
     }
     }
   }
   }
 }
 }