Skip to content

Commit

Permalink
fix: add flex-wrap class to support small devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-Hussein-dev committed Dec 21, 2024
1 parent 1081536 commit 23b587a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/www/registry/default/ui/toggle-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ToggleGroup = React.forwardRef<
>(({ className, variant, size, children, ...props }, ref) => (
<ToggleGroupPrimitive.Root
ref={ref}
className={cn("flex items-center justify-center gap-1", className)}
className={cn("flex flex-wrap items-center justify-center gap-1", className)}
{...props}
>
<ToggleGroupContext.Provider value={{ variant, size }}>
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/new-york/ui/toggle-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ToggleGroup = React.forwardRef<
>(({ className, variant, size, children, ...props }, ref) => (
<ToggleGroupPrimitive.Root
ref={ref}
className={cn("flex items-center justify-center gap-1", className)}
className={cn("flex flex-wrap items-center justify-center gap-1", className)}
{...props}
>
<ToggleGroupContext.Provider value={{ variant, size }}>
Expand Down

0 comments on commit 23b587a

Please sign in to comment.