fix: NetTransfer overflow on mobile

This commit is contained in:
hamster1963 2024-12-21 19:45:14 +08:00
parent c600b81520
commit f2bc5fe211

View File

@ -113,7 +113,7 @@ export default function ServerCard({ now, serverInfo }: { now: number; serverInf
</div> </div>
</section> </section>
{showNetTransfer && ( {showNetTransfer && (
<section className={"flex items-center justify-between gap-1"}> <section className={"flex items-center w-full justify-between gap-1"}>
<Badge <Badge
variant="secondary" variant="secondary"
className="items-center flex-1 justify-center rounded-[8px] text-nowrap text-[11px] border-muted-50 shadow-md shadow-neutral-200/30 dark:shadow-none" className="items-center flex-1 justify-center rounded-[8px] text-nowrap text-[11px] border-muted-50 shadow-md shadow-neutral-200/30 dark:shadow-none"