Browse Source

style: 调整主题切换样式

xingyuv 2 năm trước cách đây
mục cha
commit
01971a94b4
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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>