fix: inline card server name overflow

This commit is contained in:
hamster1963
2024-12-06 09:49:02 +08:00
parent 8261bd841e
commit 560bcea0b8
5 changed files with 52 additions and 49 deletions

View File

@@ -82,7 +82,7 @@ export default function ServerCardInline({
>
{showFlag ? <ServerFlag country_code={country_code} /> : null}
</div>
<div className="relative flex flex-col">
<div className="relative w-24 flex flex-col">
<p
className={cn(
"break-all font-bold tracking-tight",
@@ -226,7 +226,7 @@ export default function ServerCardInline({
<div className="relative">
<p
className={cn(
"break-all font-bold tracking-tight",
"break-all font-bold w-24 tracking-tight",
showFlag ? "text-xs" : "text-sm",
)}
>