浏览代码

style: fix

xiaoxian521 2 年之前
父节点
当前提交
c7955bcc19
共有 3 个文件被更改,包括 17 次插入3 次删除
  1. 0 2
      src/layout/components/tag/index.scss
  2. 1 1
      src/style/element-plus.scss
  3. 16 0
      src/views/login/index.vue

+ 0 - 2
src/layout/components/tag/index.scss

@@ -173,8 +173,6 @@
 }
 
 .el-dropdown-menu {
-  padding: 0;
-
   li {
     width: 100%;
     margin: 0;

+ 1 - 1
src/style/element-plus.scss

@@ -25,7 +25,7 @@
 }
 
 .el-dropdown-menu {
-  padding: 2px 0 !important;
+  padding: 0 !important;
 }
 
 .el-range-separator {

+ 16 - 0
src/views/login/index.vue

@@ -267,4 +267,20 @@ watch(imgCode, value => {
 :deep(.el-input-group__append, .el-input-group__prepend) {
   padding: 0;
 }
+
+.translation {
+  ::v-deep(.el-dropdown-menu__item) {
+    padding: 5px 40px;
+  }
+
+  .check-zh {
+    position: absolute;
+    left: 20px;
+  }
+
+  .check-en {
+    position: absolute;
+    left: 20px;
+  }
+}
 </style>