From d4c0930723be500c7d59b7b38994d24b28526b7a Mon Sep 17 00:00:00 2001 From: tophf Date: Sat, 2 Dec 2017 19:39:20 +0300 Subject: [PATCH] FF: workaround for vertical-align bug on usercss-docs svg icon --- manage/manage.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/manage/manage.css b/manage/manage.css index fcf8b041..8de33df9 100644 --- a/manage/manage.css +++ b/manage/manage.css @@ -79,7 +79,7 @@ select { } label.nobreak input { - vertical-align: middle; + vertical-align: sub; margin: 0; } @@ -972,3 +972,12 @@ fieldset select { word-break: break-all; } } + +@supports (-moz-appearance:none) { + + /* fixes for Firefox quirks */ + + #newStyleAsUsercss-wrapper svg { + margin-top: -2px; + } +}