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 <noreply@anthropic.com>
This commit is contained in:
1 parent
5b3fccde67
commit
0028716f86
1 file changed
+3
-1
@@ -540,7 +540,9 @@ textarea { resize: vertical; }
|
|||||||
.qa-item.is-current { box-shadow: inset 0 0 0 2px var(--c1); }
|
.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-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-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 { flex: none; display: inline-flex; gap: 4px; margin-left: auto; }
|
||||||
.qa-own-actions .button { min-height: 36px; }
|
.qa-own-actions .button { min-height: 36px; }
|
||||||
.qa-item.is-editing { display: block; }
|
.qa-item.is-editing { display: block; }
|
||||||
|
|||||||
Reference in new issue
Block a user