Skip to content

Commit

Permalink
Fix word wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciabad committed Mar 20, 2024
1 parent 8f2f860 commit bf03c94
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,19 @@ export const ListCategoryGroups: FC<{
>
<CardBody
className={cn(
'relative flex min-h-16 flex-row gap-2',
'relative flex min-h-16 flex-row gap-2 pl-2 pr-0',
'overflow-hidden'
)}
>
<CategoryIcon
icon={category.icon}
size={24}
className="shrink-0"
/>
<span className="flex-1 font-semibold uppercase leading-5 tracking-wide">
<CategoryIcon icon={category.icon} size={24} />
<span className="flex-1 overflow-auto break-words font-semibold uppercase leading-5 tracking-wide">
{category.namePlural}
</span>
<CategoryIcon
icon={category.icon}
strokeWidth={2}
size={64}
className="absolute bottom-0 right-1 z-0 shrink-0 opacity-10"
className="pointer-events-none absolute bottom-0 right-1 z-0 shrink-0 opacity-10"
/>
</CardBody>
</Card>
Expand Down

0 comments on commit bf03c94

Please sign in to comment.