From 7af0e0006fba1a44c7381bc68d58a2918627b1d9 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 18 Apr 2016 10:26:43 +0800 Subject: [PATCH] UX: Mentions are not styled on mobile. --- app/assets/stylesheets/common/base/topic-post.scss | 9 +++++++++ app/assets/stylesheets/desktop/topic-post.scss | 10 ---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 0e6f61a4733..c79c143c79e 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -352,3 +352,12 @@ table.md-table { } } } + +a.mention, a.mention-group { + padding: 2px 4px; + color: dark-light-diff($primary, $secondary, 30%, -30%); + background: dark-light-diff($primary, $secondary, 95%, -60%); + border-radius: 8px; + font-weight: bold; + font-size: 0.93em; +} diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index fb9cdb36bd7..3a4feb6aca3 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -571,16 +571,6 @@ video { position: relative; } -a.mention, a.mention-group { - padding: 2px 4px; - color: dark-light-diff($primary, $secondary, 30%, -30%); - background: dark-light-diff($primary, $secondary, 95%, -60%); - border-radius: 8px; - font-weight: bold; - font-size: 0.93em; -} - - .moderator { .topic-body { background-color: dark-light-diff($highlight, $secondary, 70%, -80%);