From 71b32d13f63730d44e84b665c6daaa89562f617a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 23 Feb 2022 15:42:06 +0100 Subject: [PATCH] variant: hide selector and footer in IE11 if it is the only footer item --- static/css/theme.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/static/css/theme.css b/static/css/theme.css index 58bb2017ba..895c5a1636 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -1485,17 +1485,18 @@ h6 a { .default-animation{ transition: none; } - /* turn off variant selector as it uses modern stuff */ - #select-variant-container{ - display: none; - } - /* clears the 'X' from Internet Explorer's search input */ input[type=search]::-ms-clear { display: none; width : 0; height: 0; } input[type=search]::-ms-reveal { display: none; width : 0; height: 0; } + /* turn off variant selector as it uses modern stuff; don't change + order with block below */ + .showVariantSwitch{ + display: getamodernbrowser; + } + + /* dumb IE11 doesn't understand initial, so we force a fallback here */ .showLangSwitch, - .showVariantSwitch, .showVisitedLinks, .showFooter { display: block;