about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@gmail.com>2017-06-10 20:47:07 +0200
committerSorin Davidoi <sorin.davidoi@gmail.com>2017-06-23 13:48:46 +0200
commitd8c47813771795893fe739e066708b84974130b8 (patch)
treeb3f3efc19dff5cf42777d83e5741225ad6b95c20 /app
parentbc6e95822930dc21f4f1a2c264ed9b976ef162f4 (diff)
fix: Apply :hover, :focus and :active only when multiple columns
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/components.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index ecfc186eb..c2062c398 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -1473,8 +1473,10 @@
   &:hover,
   &:focus,
   &:active {
-    background: lighten($ui-base-color, 14%);
-    transition: all 100ms linear;
+    @media screen and (min-width: 1025px) {
+      background: lighten($ui-base-color, 14%);
+      transition: all 100ms linear;
+    }
   }
 
   span {