From fc28d158cbfd9339b2caae28a08fa6b5f23ee7e3 Mon Sep 17 00:00:00 2001 From: Patrick Niebeling Date: Mon, 16 Nov 2026 19:20:42 +0100 Subject: [PATCH] Keep the present menu button at normal height Enlarge only the arrow glyph, not the button. Co-Authored-By: Claude Sonnet 5.5 --- webroot/css/plenario.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webroot/css/plenario.css b/webroot/css/plenario.css index 62519b6..0228616 100644 --- a/webroot/css/plenario.css +++ b/webroot/css/plenario.css @@ -180,7 +180,8 @@ h3 { font-size: 1.05rem; margin-top: 1.6em; } /* Split button: main action plus a menu with further views (Präsentieren ▾ → Referentenansicht). */ .split { position: relative; display: inline-flex; } .split__main { border-top-right-radius: 0; border-bottom-right-radius: 0; } -.split__toggle { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-color: rgba(255, 255, 255, .35); padding-inline: 12px; font-size: 1.3rem; line-height: 1; } +.split__toggle { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-color: rgba(255, 255, 255, .35); padding-inline: 8px; } +.split__toggle > span[aria-hidden] { font-size: 1.5em; line-height: 0; } .split__menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; min-width: 260px; max-width: min(340px, 90vw); padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); } .split__menu[hidden] { display: none; } .split__item { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }