From 88e215cad63ebed95717ac56baf102d73e098b72 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 11 May 2023 18:16:16 -0300 Subject: [PATCH] Linking: manejar overflow bien --- src/editor/menubar/Linking.svelte | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; }