Jelajahi Sumber

样式调整

maxiaoxiao 10 bulan lalu
induk
melakukan
8abc71a771
1 mengubah file dengan 6 tambahan dan 3 penghapusan
  1. 6 3
      src/views/cockpit/gdbh.vue

+ 6 - 3
src/views/cockpit/gdbh.vue

@@ -755,7 +755,7 @@ export default {
     height: 100px;
     position: absolute;
     top: 0rem;
-    left: 2rem;
+    left: 0rem;
   }
 
   .item {
@@ -773,7 +773,7 @@ export default {
     display: inline-block;
 
     background: no-repeat 50%;
-    margin-left: 1rem;
+    margin-left: 2.6rem;
     margin-bottom: 0.5rem;
   }
 
@@ -796,10 +796,13 @@ export default {
   .text {
     display: inline-block;
     // border: #00FFFF 1px solid;
-    width: calc(100% - 50px);
+    width: 100%;
     margin-bottom: 4px;
     text-align: center;
     margin-left: 0.3rem;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
 
     p {
       // font-kerning: normal;