From 5c4fdd12074ef53b9f4988d1c3a5733efb7b6742 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 11 Jul 2016 11:01:25 +0800 Subject: [PATCH] UX: Remove margins on popup menu on mobile. --- app/assets/stylesheets/common/base/topic-post.scss | 6 ++++++ app/assets/stylesheets/desktop/topic-post.scss | 4 ---- app/assets/stylesheets/mobile/topic-post.scss | 6 ++++++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 69f71677980..9c1eeb1b8d1 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -366,3 +366,9 @@ a.mention, a.mention-group { font-weight: bold; font-size: 0.93em; } + +.popup-menu { + h3 { + margin-top: 0; + } +} diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 8c60a863ea2..09785266b16 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -578,10 +578,6 @@ video { margin-top: -20px; } -.popup-menu { - h3 {margin-top: 0;} -} - .deleted-user-avatar { font-size: 2.571em; } diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index 8cee5412cf7..b8ae7220761 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -552,3 +552,9 @@ span.highlighted { margin-left: -10px; margin-right: -10px; } + +.popup-menu { + h3 { + margin-bottom: 0; + } +}