Эх сурвалжийг харах

style: 调整主题切换样式

kailong321200875 2 жил өмнө
parent
commit
6e6beefc3c

+ 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>