We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d144e7d commit 48e1b15Copy full SHA for 48e1b15
app/ui/lib/CopyableIp.tsx
@@ -8,18 +8,18 @@
8
import { CopyToClipboard } from '~/ui/lib/CopyToClipboard'
9
10
export const CopyableIp = ({ ip, isLinked = true }: { ip: string; isLinked?: boolean }) => (
11
- <span className="flex items-center gap-1">
+ <span className="flex max-w-full items-center gap-1">
12
{isLinked ? (
13
<a
14
- className="link-with-underline text-sans-md"
+ className="link-with-underline truncate text-sans-md"
15
href={`https://${ip}`}
16
target="_blank"
17
rel="noreferrer"
18
>
19
{ip}
20
</a>
21
) : (
22
- ip
+ <span className="truncate">{ip}</span>
23
)}
24
<CopyToClipboard text={ip} />
25
</span>
0 commit comments