diff --git a/src/editor/menubar/Linking.svelte b/src/editor/menubar/Linking.svelte index 8b0d4ec..9219704 100644 --- a/src/editor/menubar/Linking.svelte +++ b/src/editor/menubar/Linking.svelte @@ -87,7 +87,7 @@ {:else} {/if} - {link.content} + {link.content} {/each} @@ -116,9 +116,12 @@ border-radius: 2em; text-decoration: none; line-height: 1; + max-width: 45vw; + } + + a > span { text-overflow: ellipsis; overflow: hidden; - max-width: 45vw; white-space: nowrap; }