mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: on mobile, overflow on post controls if there are many buttons (#16054)
This commit is contained in:
parent
54ad50eda1
commit
baa4bcda23
@ -33,10 +33,9 @@ nav.post-controls {
|
|||||||
--control-space: 0.58em;
|
--control-space: 0.58em;
|
||||||
--control-space-small: calc(var(--control-space) / 2);
|
--control-space-small: calc(var(--control-space) / 2);
|
||||||
--control-space-large: calc(var(--control-space) * 1.3);
|
--control-space-large: calc(var(--control-space) * 1.3);
|
||||||
&.expanded {
|
// on small devices with many buttons this can overflow
|
||||||
// on small devices with many buttons this can overflow
|
overflow-x: scroll;
|
||||||
overflow-x: scroll;
|
|
||||||
}
|
|
||||||
.actions {
|
.actions {
|
||||||
// using an auto margin on first-child instead of justify-content on the parent
|
// using an auto margin on first-child instead of justify-content on the parent
|
||||||
// because justify-content breaks overflow scrolling
|
// because justify-content breaks overflow scrolling
|
||||||
|
Loading…
Reference in New Issue
Block a user