Skip to content

Commit 5fc265d

Browse files
authored
Merge pull request #1458 from nktnet1/fix-domain-overflow
fix: truncate domain overflow for external links
2 parents a6684af + c3887af commit 5fc265d

File tree

1 file changed

+2
-2
lines changed
  • apps/dokploy/components/dashboard/projects

1 file changed

+2
-2
lines changed

apps/dokploy/components/dashboard/projects/show.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export const ShowProjects = () => {
186186
target="_blank"
187187
href={`${domain.https ? "https" : "http"}://${domain.host}${domain.path}`}
188188
>
189-
<span>{domain.host}</span>
189+
<span className="truncate">{domain.host}</span>
190190
<ExternalLinkIcon className="size-4 shrink-0" />
191191
</Link>
192192
</DropdownMenuItem>
@@ -222,7 +222,7 @@ export const ShowProjects = () => {
222222
target="_blank"
223223
href={`${domain.https ? "https" : "http"}://${domain.host}${domain.path}`}
224224
>
225-
<span>{domain.host}</span>
225+
<span className="truncate">{domain.host}</span>
226226
<ExternalLinkIcon className="size-4 shrink-0" />
227227
</Link>
228228
</DropdownMenuItem>

0 commit comments

Comments
 (0)