about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-10-02 15:48:55 +0200
committerThibG <thib@sitedethib.com>2018-10-02 22:00:57 +0200
commiteb854275764d13c114729fbd0dc083fe3a3bb38c (patch)
treef6614d8600d0237c3c20e65f0a00e179a70859dd /app/javascript/flavours/glitch/styles/components
parent35e9d099b3febd75d1613dfc8a494e769a98c3a6 (diff)
[Glitch] Honour displayMedia setting in accountMedia gallery
Inspired by b79ab15859e7f8383526afd147e8416d2df2f7a7
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components')
-rw-r--r--app/javascript/flavours/glitch/styles/components/accounts.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/accounts.scss b/app/javascript/flavours/glitch/styles/components/accounts.scss
index 3eddd7fb4..ea748b72b 100644
--- a/app/javascript/flavours/glitch/styles/components/accounts.scss
+++ b/app/javascript/flavours/glitch/styles/components/accounts.scss
@@ -415,7 +415,7 @@
     background-size: cover;
     background-position: center;
     position: absolute;
-    color: inherit;
+    color: $ui-primary-color;
     text-decoration: none;
     border-radius: 4px;
 
@@ -434,6 +434,14 @@
       }
     }
   }
+
+  &__icons {
+    position: absolute;
+    top: 50%;
+    left: 50%;
+    transform: translate(-50%, -50%);
+    font-size: 24px;
+  }
 }
 
 .account__section-headline {