summaryrefslogtreecommitdiff
path: root/src/components/shared/ThemeSwitcher.module.scss
diff options
context:
space:
mode:
authorHaishan <[email protected]>2022-06-05 23:40:25 +0800
committerHaishan <[email protected]>2022-06-05 23:40:25 +0800
commit6a402afa3f16b8cc00a939b72250b5aaabaf5b7d (patch)
treeefe062a5847c6ef950d56aef3165842f829de119 /src/components/shared/ThemeSwitcher.module.scss
parentdadca39e95c17d9c6182038e659f1a07ff71c55c (diff)
Fix theme switcher button shape on iOS
Diffstat (limited to 'src/components/shared/ThemeSwitcher.module.scss')
-rw-r--r--src/components/shared/ThemeSwitcher.module.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/shared/ThemeSwitcher.module.scss b/src/components/shared/ThemeSwitcher.module.scss
index c5de126..951376a 100644
--- a/src/components/shared/ThemeSwitcher.module.scss
+++ b/src/components/shared/ThemeSwitcher.module.scss
@@ -29,7 +29,8 @@
height: var(--sz);
select {
cursor: pointer;
- padding-left: var(--sz);
+ padding-left: calc(var(--sz) - 2px);
+ font-size: 0;
width: var(--sz);
height: var(--sz);
appearance: none;