From 224ae7fc925bf269f4d53f6d949608ff4c47a82f Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Fri, 27 Jun 2014 15:28:16 -0700 Subject: [PATCH] don't let topic-progress be selected --- app/assets/stylesheets/desktop/topic.scss | 7 +++++++ app/assets/stylesheets/mobile/topic.scss | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index 6bd15e18a..dcc263354 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -154,6 +154,13 @@ a:hover.reply-new { width: 130px; height: 34px; + /* as a big ol' click target, don't let text inside be selected */ + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -o-user-select: none; + user-select: none; + &:hover { cursor: pointer; } diff --git a/app/assets/stylesheets/mobile/topic.scss b/app/assets/stylesheets/mobile/topic.scss index ffa723e08..5a6767d10 100644 --- a/app/assets/stylesheets/mobile/topic.scss +++ b/app/assets/stylesheets/mobile/topic.scss @@ -106,6 +106,14 @@ color: $primary; width: 130px; height: 34px; + + /* as a big ol' click target, don't let text inside be selected */ + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -o-user-select: none; + user-select: none; + .nums { position: relative; top: 9px;