Skip to content

Commit

Permalink
fix: profile category overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Oct 10, 2024
1 parent 58d251e commit 3edee63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion apps/renderer/src/components/ui/scroll-area/ScrollArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ export const ScrollArea = React.forwardRef<
<Viewport
ref={setViewportRef}
onWheel={stopPropagation}
className={cn(flex ? "[&>div]:!flex [&>div]:!flex-col" : "", viewportClassName)}
className={cn(
flex ? "[&>div]:!flex [&>div]:!flex-col" : "[&>div]:!block",
viewportClassName,
)}
mask={mask}
>
{children}
Expand Down
2 changes: 1 addition & 1 deletion apps/renderer/src/modules/profile/user-profile-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ const SubscriptionGroup: FC<{
className="mb-2 mt-8 flex w-full items-center justify-between text-2xl font-bold"
type="button"
>
<h3>{category}</h3>
<h3 className="truncate">{category}</h3>

<div className="inline-flex shrink-0 items-center opacity-50">
<i
Expand Down

0 comments on commit 3edee63

Please sign in to comment.