diff --git a/l4d2web/l4d2web/static/css/editor.css b/l4d2web/l4d2web/static/css/editor.css index 92182a8..0017e98 100644 --- a/l4d2web/l4d2web/static/css/editor.css +++ b/l4d2web/l4d2web/static/css/editor.css @@ -9,21 +9,10 @@ * in _editor_assets.html un-hides for JS-disabled users. */ textarea[data-editor-language] { display: none; } -/* Wrapper that reserves layout space before cm6 mounts, sized by the - * inline `min-height` style each call site sets to match the original - * textarea's `rows`. cm6 is a flex child that fills the reserved space - * (otherwise short content would render cm6 small with a gap below). */ -.editor-mount { - display: flex; - flex-direction: column; -} -.editor-mount > .cm-editor { - flex: 1; -} - .cm-editor { border: var(--line); border-radius: var(--radius-s); + min-height: 8em; } .cm-editor.cm-focused { diff --git a/l4d2web/l4d2web/templates/blueprint_detail.html b/l4d2web/l4d2web/templates/blueprint_detail.html index b705654..0fae77b 100644 --- a/l4d2web/l4d2web/templates/blueprint_detail.html +++ b/l4d2web/l4d2web/templates/blueprint_detail.html @@ -51,7 +51,7 @@
{% for o in exposed %}exec {{ o.name }}.cfg
 {% endfor %}
{% endif %} -
+ diff --git a/l4d2web/l4d2web/templates/overlay_detail.html b/l4d2web/l4d2web/templates/overlay_detail.html index dafc82b..597e11a 100644 --- a/l4d2web/l4d2web/templates/overlay_detail.html +++ b/l4d2web/l4d2web/templates/overlay_detail.html @@ -24,7 +24,7 @@

Runs sandboxed against the overlay directory mounted at /overlay.

{% if not latest_build_is_running %} @@ -186,7 +186,7 @@
UTF-8 ยท 0 bytes