Skip to content

Commit

Permalink
fix(ServerList): fixed top layout in which the name may be line-breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Nov 20, 2024
1 parent 461dcd0 commit 687b75d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ServerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function ServerCard({
<p
className={cn(
"break-all font-bold tracking-tight",
showFlag ? "text-xs" : "text-sm",
showFlag ? "text-xs " : "text-sm",
)}
>
{name}
Expand Down Expand Up @@ -193,7 +193,7 @@ export default function ServerCard({
<p
className={cn(
"break-all font-bold tracking-tight",
showFlag ? "text-xs max-w-[80px]" : "text-sm",
showFlag ? "text-xs" : "text-sm",
)}
>
{name}
Expand Down

0 comments on commit 687b75d

Please sign in to comment.