about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/widgets.scss
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-02-10 21:50:42 +0100
committerThibaut Girka <thib@sitedethib.com>2019-02-10 21:50:42 +0100
commitb7fbcb21b3ca7f7ee560785fa1249bf689fbaff3 (patch)
tree8dda3dcb72a2d1d5857be514a6676a908f973008 /app/javascript/flavours/glitch/styles/widgets.scss
parent7ed2aeb6e9b0fe4fc7fbe7c76003d1e044c682eb (diff)
[Glitch] Add featured hashtags to profiles
Port SCSS changes from 364f2ff9aa2b4bf601d68a12bce758aeb5530467
Diffstat (limited to 'app/javascript/flavours/glitch/styles/widgets.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/widgets.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/widgets.scss b/app/javascript/flavours/glitch/styles/widgets.scss
index c97337e4e..1eaf30c5b 100644
--- a/app/javascript/flavours/glitch/styles/widgets.scss
+++ b/app/javascript/flavours/glitch/styles/widgets.scss
@@ -269,7 +269,8 @@
     box-sizing: border-box;
     margin-bottom: 10px;
 
-    a {
+    & > a,
+    & > div {
       display: flex;
       align-items: center;
       justify-content: space-between;
@@ -279,7 +280,9 @@
       text-decoration: none;
       color: inherit;
       box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
+    }
 
+    & > a {
       &:hover,
       &:active,
       &:focus {
@@ -287,7 +290,7 @@
       }
     }
 
-    &.active a {
+    &.active > a {
       background: $ui-highlight-color;
       cursor: default;
     }