diff --git a/src/layout/components/tag/index.scss b/src/layout/components/tag/index.scss index 2a551712d..1fef53b70 100644 --- a/src/layout/components/tag/index.scss +++ b/src/layout/components/tag/index.scss @@ -173,8 +173,6 @@ } .el-dropdown-menu { - padding: 0; - li { width: 100%; margin: 0; diff --git a/src/style/element-plus.scss b/src/style/element-plus.scss index 9cfd26fa6..8f8ae39fe 100644 --- a/src/style/element-plus.scss +++ b/src/style/element-plus.scss @@ -25,7 +25,7 @@ } .el-dropdown-menu { - padding: 2px 0 !important; + padding: 0 !important; } .el-range-separator { diff --git a/src/views/login/index.vue b/src/views/login/index.vue index ddcb6cc9d..4ba2f0441 100644 --- a/src/views/login/index.vue +++ b/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; + } +}