diff options
author | PFM <info@eyesight.jp> | 2017-09-07 23:18:41 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-07 16:18:41 +0200 |
commit | 7d853b514a5b6d6405d2019e414b237e1e123571 (patch) | |
tree | c35a331ee8f6f9b0d1682507ac1e69c39f95b2ae /app/javascript/styles | |
parent | 85c7c42098b5a5b10033eb8de79f6cb5dce8d462 (diff) |
Use <button> instead of <div role="button"> (#4835)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/components.scss | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 7fd16f6b3..75485d6b6 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -2347,22 +2347,6 @@ 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; @@ -3821,6 +3805,8 @@ button.icon-button.active i.fa-retweet { cursor: pointer; margin-top: 8px; position: relative; + border: 0; + display: block; } .media-spoiler-video-play-icon { |