Skip to content

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

UX: let mobile post controls scroll on overflow (#15305)

Kris1c9a0fe18e19
diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss
index adad908cffa..03d12820079 100644
--- a/app/assets/stylesheets/mobile/topic-post.scss
+++ b/app/assets/stylesheets/mobile/topic-post.scss
@@ -37,7 +37,11 @@ span.badge-posts {
}
.actions {
display: flex;
- justify-content: flex-end;
+ // using an auto margin on first-child instead of justify-content on the parent
+ // because justify-content breaks overflow scrolling
+ :first-child {
+ margin-left: auto;
+ }
// Handles the like and flag buttons in the post menu.
.double-button {