浏览代码

style: 调整主题切换样式

xingyuv 2 年之前
父节点
当前提交
01971a94b4
共有 1 个文件被更改,包括 5 次插入0 次删除
  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>