소스 검색

侧边栏溢出隐藏

Q-ABAB 2 년 전
부모
커밋
37df7b4a75
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  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;