Browse Source

搜索联想样式调整

Administrator 7 years ago
parent
commit
c740e9b33f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      components/main/Search.vue

+ 3 - 1
components/main/Search.vue

@@ -400,7 +400,9 @@
         padding: 0 15px;
         line-height: 30px;
         cursor: pointer;
-
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
         &.active {
           background-color: $dark-bg;
         }