fix(ServerList): fixed top layout in which the name may be line-breaking

This commit is contained in:
hamster1963 2024-11-20 10:05:47 +08:00
parent 461dcd0b52
commit 687b75d6fe

View File

@ -193,7 +193,7 @@ export default function ServerCard({
<p <p
className={cn( className={cn(
"break-all font-bold tracking-tight", "break-all font-bold tracking-tight",
showFlag ? "text-xs max-w-[80px]" : "text-sm", showFlag ? "text-xs" : "text-sm",
)} )}
> >
{name} {name}