Browse Source

侧边栏溢出隐藏

Q-ABAB 2 năm trước cách đây
mục cha
commit
37df7b4a75
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      src/views/home.vue

+ 6 - 2
src/views/home.vue

@@ -81,10 +81,14 @@
                 cursor: pointer;
                 box-sizing: border-box;
                 padding-left: 20%;
+                
+
                 span{
-                  display: flex;
-                  // background: red;
                   align-items: center;
+                  width: 80%;
+                  white-space: nowrap;
+                  overflow: hidden;
+                  text-overflow:ellipsis;
                   i{
                     position: relative;
                     top: 1px;