Skip to content

Commit 6500b79

Browse files
committed
fix: svg icon not applying z-index for safari
1 parent 3c86750 commit 6500b79

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

frontend/layers/base/app/components/BaseColormode.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,17 @@ const handleUpdate = () => {
3434
@update:model-value="handleUpdate"
3535
>
3636
<template #light=" { label } ">
37-
<BaseIcon name="sun" />
37+
<BaseIcon
38+
name="sun"
39+
class="relative z-10"
40+
/>
3841
<span class="sr-only">{{ label }}</span>
3942
</template>
4043
<template #dark=" { label } ">
41-
<BaseIcon name="moon" />
44+
<BaseIcon
45+
name="moon"
46+
class="relative z-10"
47+
/>
4248
<span class="sr-only">{{ label }}</span>
4349
</template>
4450
</BaseSwitch>

0 commit comments

Comments
 (0)