Skip to content

Commit

Permalink
fix: make text smaller on mobile screens for item buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
impyrobot authored and raimannma committed Feb 9, 2025
1 parent e5557d6 commit 1449716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/analysis/item-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export function ItemSelector({ category }: { category: ItemCategory }) {
<Button
key={item.id}
variant={isSelected ? "default" : isExcluded ? "destructive" : "outline"}
className={cn("w-full h-8 text-sm sm:text-xs px-2 truncate", isExcluded && "hover:bg-destructive/90")}
className={cn("w-full h-8 text-xs sm:text-sm px-2 truncate", isExcluded && "hover:bg-destructive/90")}
onClick={() => handleItemClick(item.id)}
>
{item.name}
Expand Down

0 comments on commit 1449716

Please sign in to comment.