FIX: on mobile, overflow on post controls if there are many buttons (#16054)

This commit is contained in:
Ella E 2022-02-25 15:03:58 -07:00 committed by GitHub
parent 54ad50eda1
commit baa4bcda23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,10 +33,9 @@ nav.post-controls {
--control-space: 0.58em;
--control-space-small: calc(var(--control-space) / 2);
--control-space-large: calc(var(--control-space) * 1.3);
&.expanded {
// on small devices with many buttons this can overflow
overflow-x: scroll;
}
// on small devices with many buttons this can overflow
overflow-x: scroll;
.actions {
// using an auto margin on first-child instead of justify-content on the parent
// because justify-content breaks overflow scrolling