Skip to content

Commit

Permalink
fix(switch): removed right margin in wrapper heroui-inc#3791
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrinidhiUpadhyaya committed Oct 9, 2024
1 parent 88c97f6 commit 2e07808
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/theme/src/components/toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const toggle = tv({
},
size: {
sm: {
wrapper: "w-10 h-6 mr-2 rtl:ml-2 rtl:mr-[unset]",
wrapper: "w-10 h-6 rtl:ml-2 rtl:mr-[unset]",
thumb: [
"w-4 h-4 text-tiny",
//selected
Expand All @@ -111,7 +111,7 @@ const toggle = tv({
label: "text-small",
},
md: {
wrapper: "w-12 h-7 mr-2 rtl:ml-2 rtl:mr-[unset]",
wrapper: "w-12 h-7 rtl:ml-2 rtl:mr-[unset]",
thumb: [
"w-5 h-5 text-small",
//selected
Expand All @@ -122,7 +122,7 @@ const toggle = tv({
label: "text-medium",
},
lg: {
wrapper: "w-14 h-8 mr-2 rtl:ml-2 rtl:mr-[unset]",
wrapper: "w-14 h-8 rtl:ml-2 rtl:mr-[unset]",
thumb: [
"w-6 h-6 text-medium",
//selected
Expand Down

0 comments on commit 2e07808

Please sign in to comment.