Skip to content

Commit f904a7b

Browse files
authored
fix: Fix server card title overflow for responsiveness
1 parent 344febb commit f904a7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/dokploy/components/dashboard/settings/servers/show-servers.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ export const ShowServers = () => {
115115
className="relative hover:shadow-lg transition-shadow flex flex-col bg-transparent"
116116
>
117117
<CardHeader className="pb-3">
118-
<div className="flex items-start justify-between gap-2">
118+
<div className="flex items-start justify-between gap-2 min-w-0">
119119
<div className="flex min-w-0 items-center gap-2">
120120
<ServerIcon className="size-5 shrink-0 text-muted-foreground" />
121-
<CardTitle className="text-lg wrap-break-word min-w-0">
121+
<CardTitle className="text-lg truncate min-w-0" title={server.name}>
122122
{server.name}
123123
</CardTitle>
124124
</div>

0 commit comments

Comments
 (0)