Browse Source

style: 调整主题切换样式

xingyuv 2 years ago
parent
commit
01971a94b4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/layout/components/ThemeSwitch/src/ThemeSwitch.vue

+ 5 - 0
src/layout/components/ThemeSwitch/src/ThemeSwitch.vue

@@ -37,3 +37,8 @@ const themeChange = (val: boolean) => {
     @change="themeChange"
   />
 </template>
+<style lang="scss" scoped>
+:deep(.el-switch__core .el-switch__inner .is-icon) {
+  overflow: visible;
+}
+</style>