mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-11-04 09:00:21 +00:00
fix: add break-words class to ServerCard for improved text handling
This commit is contained in:
1 parent
8438bd4d6d
commit
99ea2af28d
1 file changed
+1
-1
@@ -40,7 +40,7 @@ export default function ServerCard({ now, serverInfo }: { now: number; serverInf
|
||||
return online ? (
|
||||
<Card
|
||||
className={cn(
|
||||
"flex flex-col items-center justify-start gap-3 p-3 md:px-5 cursor-pointer hover:bg-accent/50 transition-colors",
|
||||
"flex flex-col items-center justify-start gap-3 p-3 md:px-5 cursor-pointer hover:bg-accent/50 transition-colors break-words",
|
||||
{
|
||||
"flex-col": fixedTopServerName,
|
||||
"lg:flex-row": !fixedTopServerName,
|
||||
|
||||
Reference in new issue
Block a user