From a45df13028b065e62909beb8323ed65bb0ec0520 Mon Sep 17 00:00:00 2001 From: JannisX11 Date: Sun, 15 Jan 2023 19:41:11 +0100 Subject: [PATCH] Fix #1712 Variable placeholder panel overflow --- css/panels.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/css/panels.css b/css/panels.css index f7556b60..ea6505f8 100644 --- a/css/panels.css +++ b/css/panels.css @@ -18,6 +18,7 @@ display: flex; flex-direction: column; overflow: hidden; + min-height: 0; } .panel.floating { position: absolute; @@ -869,13 +870,9 @@ width: 20px; flex-grow: 1; } - .prism-editor-wrapper { + .molang_input.prism-editor-component { caret-color: var(--color-text); - } - .molang_input .prism-editor-wrapper { - overflow-y: hidden; - min-height: 30px; - margin-bottom: auto; + min-height: 0; } .molang_input .prism-editor-placeholder { font-family: var(--font-code);