From 84df7e51f4602af83f4c09d66112c5f4e7041e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9F=D1=80=D0=BE?= =?UTF-8?q?=D0=BA=D0=B0=D0=B7=D0=B8=D0=BD?= Date: Thu, 8 Aug 2019 19:25:47 +0300 Subject: [PATCH] Fix comments overlap bug on IE and Edge (#3553) [ci skip] --- app/assets/stylesheets/comments.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/comments.scss b/app/assets/stylesheets/comments.scss index fcb528199..c816c588d 100644 --- a/app/assets/stylesheets/comments.scss +++ b/app/assets/stylesheets/comments.scss @@ -401,6 +401,13 @@ a.header-link { .comment-deep-2 { margin-top: -123px; } + // this ms-lang hack (which behaves like a media query) is going to be ignored by all browsers + // except IE and 11 and it fixes indentation on the unsupported
tags + _:-ms-lang(x), + .comment-deep-1, + .comment-deep-2 { + margin-top: 0px; + } summary { z-index: 15; position: relative;