From 35b40af593c1386cd6fdefa78b03dde39b89c9d6 Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Mon, 23 Nov 2026 20:13:29 +0100 Subject: [PATCH] Improve release note readability on narrow screens --- src/coulobre/hosting/static/hosting/panel.css | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/src/coulobre/hosting/static/hosting/panel.css b/src/coulobre/hosting/static/hosting/panel.css index 63b5bdf..fc48ad4 100644 --- a/src/coulobre/hosting/static/hosting/panel.css +++ b/src/coulobre/hosting/static/hosting/panel.css @@ -452,6 +452,55 @@ h2 { overflow-wrap: anywhere; } +.update-release { + padding: 0.75rem 0.9rem; + border: 1px solid var(--line); + border-radius: 0.5rem; +} + +.update-release > summary { + cursor: pointer; + font-weight: 680; +} + +.release-notes { + max-width: 80ch; + margin-top: 0.9rem; +} + +.release-notes :is(h1, h2, h3, h4, h5, h6) { + margin: 1rem 0 0.25rem; + font-size: 1rem; + line-height: 1.3; +} + +.release-notes :is(p, ul, ol, pre, blockquote) { + margin: 0.5rem 0; +} + +.release-notes :is(ul, ol) { + padding-inline-start: 1.35rem; +} + +.release-notes pre { + padding: 0.7rem 0.85rem; + border-radius: 0.4rem; + background: var(--code-bg); + color: var(--code-text); + font-size: 0.85rem; + white-space: pre-wrap; +} + +.update-release-form { + margin-top: 0.9rem; + padding-top: 0.85rem; + border-top: 1px solid var(--line); +} + +.update-release-form .button { + justify-self: start; +} + .account-toolbar { justify-content: space-between; }