Преглед изворни кода

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"
     @change="themeChange"
   />
   />
 </template>
 </template>
+<style lang="scss" scoped>
+:deep(.el-switch__core .el-switch__inner .is-icon) {
+  overflow: visible;
+}
+</style>