瀏覽代碼

fix: 修复bug

jinx 2 年之前
父節點
當前提交
ba11e2a8e5
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. 2 1
      src/components/files/content/Comment.vue
  2. 3 3
      src/components/files/index.vue

+ 2 - 1
src/components/files/content/Comment.vue

@@ -275,7 +275,8 @@ onBeforeUnmount(() => {})
                 border: 1px solid rgba(255, 255, 255, 0.2);
                 position: relative;
                 input {
-                    width: 75%;
+                    // width: 75%;
+                    width: 73%;
                     line-height: 34px;
                     padding: 0 5px;
                     color: #fff;

+ 3 - 3
src/components/files/index.vue

@@ -375,7 +375,7 @@ li {
     justify-content: space-between;
     font-size: 14px;
     &.active {
-        background-color: rgba(0, 118, 246, 0.1);
+        background-color: rgba(0, 118, 246, 0.3);
     }
     .title {
     }
@@ -410,13 +410,13 @@ li {
                 height: 32px;
                 line-height: 32px;
                 &:hover {
-                    background-color: rgb(0, 118, 246, 0.1);
+                    background-color: rgb(0, 118, 246, 0.3);
                 }
             }
         }
     }
     &:hover {
-        background-color: rgb(0, 118, 246, 0.1);
+        background-color: rgb(0, 118, 246, 0.3);
     }
 }