Skip to content

A platform for community discussion. Free, open, simple.

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

Ella Ebaa4bcda2311
diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss
index d84fdabc9c7..c883fa46933 100644
--- a/app/assets/stylesheets/mobile/topic-post.scss
+++ b/app/assets/stylesheets/mobile/topic-post.scss
@@ -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