Skip to content

Commit

Permalink
fix(ui): toggle switch
Browse files Browse the repository at this point in the history
- text align start
  • Loading branch information
SutuSebastian committed Jun 20, 2024
1 parent 30a3a8b commit 65a15ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/ToggleSwitch/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const toggleSwitchTheme: FlowbiteToggleSwitchTheme = createTheme({
on: "cursor-pointer",
off: "cursor-not-allowed opacity-50",
},
label: "ms-3 mt-0.5 text-sm font-medium text-gray-900 dark:text-gray-300",
label: "ms-3 mt-0.5 text-start text-sm font-medium text-gray-900 dark:text-gray-300",
},
toggle: {
base: "relative rounded-full border after:absolute after:rounded-full after:bg-white after:transition-all group-focus:ring-4 group-focus:ring-cyan-500/25",
Expand Down

0 comments on commit 65a15ae

Please sign in to comment.