Linking: manejar overflow bien
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
9acd68dd2e
commit
88e215cad6
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue