Linking: manejar overflow bien
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Cat /dev/Nulo 2023-05-11 18:16:16 -03:00
parent 9acd68dd2e
commit 88e215cad6

View file

@ -87,7 +87,7 @@
{:else} {:else}
<LinkIcon /> <LinkIcon />
{/if} {/if}
{link.content} <span>{link.content}</span>
</a> </a>
{/each} {/each}
</div> </div>
@ -116,9 +116,12 @@
border-radius: 2em; border-radius: 2em;
text-decoration: none; text-decoration: none;
line-height: 1; line-height: 1;
max-width: 45vw;
}
a > span {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
max-width: 45vw;
white-space: nowrap; white-space: nowrap;
} }