diff --git a/static/holder.css b/static/holder.css index 6e0fc4c..7047afc 100644 --- a/static/holder.css +++ b/static/holder.css @@ -178,12 +178,19 @@ .scad-panel { position: absolute; left: 0; right: 0; bottom: 0; - height: 45%; + height: 30%; + min-height: 180px; background: var(--bg, #11141a); border-top: 1px solid var(--border, #2a2f3a); display: flex; flex-direction: column; z-index: 2; + overflow: hidden; +} +/* The [hidden] attribute alone is overridden by display:flex above — + * make the hide explicit so the Close button actually closes the panel. */ +.scad-panel[hidden] { + display: none; } .scad-panel-bar { display: flex;