From a26ecf3099dee000c5339fc993d6dec86575f190 Mon Sep 17 00:00:00 2001 From: Nulo Date: Tue, 18 Apr 2023 15:20:51 -0300 Subject: [PATCH] bubblemenu: no ocupar espacio cuando no se usa --- src/editor/BubbleMenu.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/editor/BubbleMenu.svelte b/src/editor/BubbleMenu.svelte index 18d2bdf..ef8e37c 100644 --- a/src/editor/BubbleMenu.svelte +++ b/src/editor/BubbleMenu.svelte @@ -200,12 +200,14 @@ transform: scale(${1 / viewport.scale}); visibility: visible; opacity: 1; + height: auto; - transition: opacity 0.2s, visibility 0.2s; + transition: opacity 0.2s, visibility 0.2s, height 0.2s; } .bubble[hidden] { visibility: hidden; opacity: 0; + height: 0; } .bubble input {