Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(artboard): truncate link to stop overflow #1846

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/azurill.tsx
Expand Up @@ -131,7 +131,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/bronzor.tsx
Expand Up @@ -122,7 +122,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/chikorita.tsx
Expand Up @@ -125,7 +125,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/ditto.tsx
Expand Up @@ -142,7 +142,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/gengar.tsx
Expand Up @@ -120,7 +120,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/glalie.tsx
Expand Up @@ -128,7 +128,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/kakuna.tsx
Expand Up @@ -148,7 +148,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/leafish.tsx
Expand Up @@ -145,7 +145,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/nosepass.tsx
Expand Up @@ -124,7 +124,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/onyx.tsx
Expand Up @@ -151,7 +151,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/pikachu.tsx
Expand Up @@ -151,7 +151,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down
2 changes: 1 addition & 1 deletion apps/artboard/src/templates/rhyhorn.tsx
Expand Up @@ -123,7 +123,7 @@ const Link = ({ url, icon, label, className }: LinkProps) => {
href={url.href}
target="_blank"
rel="noreferrer noopener nofollow"
className={cn("inline-block", className)}
className={cn("inline-block max-w-64 truncate", className)}
>
{label || url.label || url.href}
</a>
Expand Down