Explorar o código

style: 调整主题切换样式

xingyuv %!s(int64=2) %!d(string=hai) anos
pai
achega
01971a94b4
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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>