diff options
Diffstat (limited to 'apps/web/src/components/ui/font-picker.tsx')
| -rw-r--r-- | apps/web/src/components/ui/font-picker.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/src/components/ui/font-picker.tsx b/apps/web/src/components/ui/font-picker.tsx index 1806b48a..4b8e364a 100644 --- a/apps/web/src/components/ui/font-picker.tsx +++ b/apps/web/src/components/ui/font-picker.tsx @@ -6,6 +6,7 @@ import { SelectValue, } from "@/components/ui/select"; import { FONT_OPTIONS, type FontFamily } from "@/constants/font-constants"; +import { cn } from "@/utils/ui"; interface FontPickerProps { defaultValue?: FontFamily; @@ -21,16 +22,15 @@ export function FontPicker({ return ( <Select defaultValue={defaultValue} onValueChange={onValueChange}> <SelectTrigger - className={`bg-panel-accent h-9 w-full text-base ${className || ""}`} + className={cn("w-full", className)} > - <SelectValue placeholder="Select a font" className="text-sm" /> + <SelectValue placeholder="Select a font" /> </SelectTrigger> <SelectContent> {FONT_OPTIONS.map((font) => ( <SelectItem key={font.value} value={font.value} - className="text-sn" style={{ fontFamily: font.value }} > {font.label} |
