From f4d94ee75f4540f1a227fd0f882f94a369e00095 Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 16 Jul 2014 00:25:21 -0400 Subject: [PATCH] #2224 --- .../stylesheets/specific/comments.css.scss | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/assets/stylesheets/specific/comments.css.scss b/app/assets/stylesheets/specific/comments.css.scss index 16a03d108..0b4347e85 100644 --- a/app/assets/stylesheets/specific/comments.css.scss +++ b/app/assets/stylesheets/specific/comments.css.scss @@ -98,20 +98,20 @@ div#c-comments { } div.post-preview { - position: relative; + &[data-tags~=animated], &[data-file-ext=swf], &[data-file-ext=webm] { + div.preview { + position: relative; - &[data-tags~=animated]:before, &[data-file-ext=swf]:before, &[data-file-ext=webm]:before { - content: "►"; - position: absolute; - width: 20px; - height: 20px; - color: white; - background-color: rgba(0,0,0,0.5); - margin: 2px; - top: 0; - left: 0; - z-index: 1; - text-align: center; + &:before { + content: "►"; + position: absolute; + width: 20px; + height: 20px; + color: white; + background-color: rgba(0,0,0,0.5); + margin: 2px; + } + } } }