Przeglądaj źródła

修复右上角错位

ZaiZai 1 rok temu
rodzic
commit
80f43b1225
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 0 1
      src/layout/index.vue
  2. 2 0
      src/layout/layout.scss

+ 0 - 1
src/layout/index.vue

@@ -350,7 +350,6 @@ const socketSend = (msg) => {
     .hc-header-view .hc-header-content .hc-header-cascader-box {
         .el-cascader {
             width: 100%;
-            top: -10px;
         }
         .el-cascader .el-input .el-input__wrapper {
             padding: 4px 15px;

+ 2 - 0
src/layout/layout.scss

@@ -147,11 +147,13 @@
                     position: relative;
                     margin-right: 30px;
                     border-radius: 100px;
+                    flex: 1;
                     .project-name-box {
                         padding-right: 55px;
                         position: relative;
                         visibility: hidden;
                         z-index: -1;
+                        height: 1px;
                     }
                 }
             }