Pārlūkot izejas kodu

style: 调整主题切换样式

kailong321200875 2 gadi atpakaļ
vecāks
revīzija
6e6beefc3c
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6 0
      src/components/ThemeSwitch/src/ThemeSwitch.vue

+ 6 - 0
src/components/ThemeSwitch/src/ThemeSwitch.vue

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