소스 검색

style: 调整主题切换样式

kailong321200875 2 년 전
부모
커밋
6e6beefc3c
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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>