about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorPFM <info@eyesight.jp>2017-09-06 20:55:47 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-06 13:55:47 +0200
commitd8d2a5474148c38ddc5754fc5d7cbf8083bab3bf (patch)
tree0ae86d328b6ed56df238525b23d8c7cfedbcb57f /app/javascript/styles
parentfa21d004c7d8ea1c76d1106700f4e18a703e39fd (diff)
fix text position of NSFW for video file (#4819)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/components.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index 1b9763e90..bd7d0c3d4 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -2343,6 +2343,22 @@ button.icon-button.active i.fa-retweet {
   height: 100%;
 }
 
+.media-spoiler__video {
+  align-items: center;
+  background: $base-overlay-background;
+  color: $primary-text-color;
+  cursor: pointer;
+  display: flex;
+  flex-direction: column;
+  border: 0;
+  width: 100%;
+  height: 100%;
+  justify-content: center;
+  position: relative;
+  text-align: center;
+  z-index: 100;
+}
+
 .media-spoiler__warning {
   display: block;
   font-size: 14px;