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; }