Skip to content

Commit

Permalink
[Switch] Fix height on mobile Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Mar 17, 2024
1 parent ff55a5f commit c6587f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/neat-donuts-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"svelte-ux": patch
---

[Switch] Fix height on mobile Safari
2 changes: 1 addition & 1 deletion packages/svelte-ux/src/lib/components/Switch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
bind:checked
on:change
{value}
class={cls('peer appearance-none block', settingsClasses.input, classes.input)}
class={cls('peer appearance-none block h-0', settingsClasses.input, classes.input)}
{disabled}
/>

Expand Down

0 comments on commit c6587f6

Please sign in to comment.