Merge pull request 'Put own Q&A question actions below the text' (#51) from fix/qa-own-question-mobile into main
Reviewed-on: #51
This commit was merged in pull request #51.
This commit is contained in:
commit
2eb6afc493
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