Skip to content

Commit bcb2d05

Browse files
authored
fix: show pointer cursor on theme switcher button hover (#15)
1 parent 8d531c0 commit bcb2d05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/theme-switcher.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Icon } from "astro-icon/components";
66
negative margin is sum of button width (8) and gap size of flex parent (6)
77
TODO don't hardcode these values
88
-->
9-
<button id="theme-switcher" type="button" class="ml-0 origin-(right_center)">
9+
<button id="theme-switcher" type="button" class="ml-0 origin-(right_center) cursor-pointer">
1010
<div id="icon-theme-auto">
1111
<Icon name="tabler:sun-moon" class="h-8 text-lg" />
1212
<span class="sr-only">Use dark theme</span>

0 commit comments

Comments
 (0)