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 621986d commit a0f2c73Copy full SHA for a0f2c73
src/components/url-record-row.tsx
@@ -42,17 +42,10 @@ export function MobileRow({
42
href={shortUrl}
43
target="_blank"
44
rel="noopener noreferrer"
45
- className="text-blue-400 flex-1 max-sm:hidden hover:underline font-mono"
+ className="text-blue-400 flex-1 hover:underline font-mono"
46
>
47
- {shortUrl}
48
- </a>
49
- <a
50
- href={shortUrl}
51
- target="_blank"
52
- rel="noopener noreferrer"
53
- className="text-blue-400 flex-1 sm:hidden hover:underline font-mono"
54
- >
55
- /{url.short_code}
+ <span className="max-sm:hidden">{shortUrl}</span>
+ <span className="sm:hidden">/{url.short_code}</span>
56
</a>
57
<Button variant="ghost" size="icon" onClick={() => onCopy(url)}>
58
<Copy />
0 commit comments