about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStephen Burgess <stephenburgess8@gmail.com>2017-04-24 13:20:16 -0500
committerEugen <eugen@zeonfederated.com>2017-04-24 20:20:16 +0200
commitf098f55cab17c3a5e1b064fb8e50e24738075131 (patch)
tree47147d54a5ccefebf82ff8189435dd70fc05e021
parentbc955eaf61ffb2fd3915067da2a5674ea30df226 (diff)
fix(styles): Spoiler trigger zindex, close modal button position (#2406)
#2338
-rw-r--r--app/assets/stylesheets/components.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss
index 0c8379be4..487536812 100644
--- a/app/assets/stylesheets/components.scss
+++ b/app/assets/stylesheets/components.scss
@@ -1858,7 +1858,9 @@ button.icon-button.active i.fa-retweet {
 .spoiler-button {
   left: 4px;
   position: absolute;
+  text-shadow: 0px 1px 1px #000, 1px 0px 1px #000;
   top: 4px;
+  z-index: 100;
 }
 
 .modal-container--preloader {
@@ -2563,8 +2565,8 @@ button.icon-button.active i.fa-retweet {
 
 .media-modal__close {
   position: absolute;
-  right: 4;
-  top: 4;
+  right: 4px;
+  top: 4px;
   z-index: 100;
 }