From 0028716f86139640d2b0b013b375d4a3048a1d22 Mon Sep 17 00:00:00 2001 From: Patrick Niebeling Date: Wed, 11 Nov 2026 14:54:06 +0100 Subject: [PATCH] Put own Q&A question actions below the text On narrow screens the edit/delete buttons squeezed the question text into a one-character column. Co-Authored-By: Claude Opus 5.5 --- webroot/css/plenario.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webroot/css/plenario.css b/webroot/css/plenario.css index a109954..51ceb22 100644 --- a/webroot/css/plenario.css +++ b/webroot/css/plenario.css @@ -540,7 +540,9 @@ textarea { resize: vertical; } .qa-item.is-current { box-shadow: inset 0 0 0 2px var(--c1); } .qa-votes { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--qa); position: relative; } .qa-own { font-size: .85rem; color: var(--muted); white-space: nowrap; } -.qa-item:has(.qa-own-actions) { flex-wrap: wrap; } +/* Own questions: text on its own row, label and edit/delete below it (otherwise the text gets squeezed on phones). */ +.qa-item:has(.qa-own-actions) { flex-wrap: wrap; row-gap: 6px; } +.qa-item:has(.qa-own-actions) .qa-item__text { flex-basis: 100%; } .qa-own-actions { flex: none; display: inline-flex; gap: 4px; margin-left: auto; } .qa-own-actions .button { min-height: 36px; } .qa-item.is-editing { display: block; } -- 2.54.1