From 9716492d6a1f3285f23940fc9e8e3f2cc95350ed Mon Sep 17 00:00:00 2001 From: Mikkel Hastrup Date: Tue, 16 Apr 2019 11:53:07 +0200 Subject: [PATCH] [BUGFIX] ie11 and edge social-icons underline fix --- Resources/Public/less/main.less | 10 ++++++++++ .../dev/styles/main/contentElements/socialIcons.less | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/Resources/Public/less/main.less b/Resources/Public/less/main.less index c3a738e3..fbb5f308 100644 --- a/Resources/Public/less/main.less +++ b/Resources/Public/less/main.less @@ -7158,6 +7158,16 @@ div.awesomplete li[aria-selected="true"] mark { & > .icons:after { border-color: fade(@social-icons-hover-color, 50%); } + + // ie11 and edge fix for underline on icon - text-decoration has to be styled before it can be unstyled + & > .icons:before when not (@link-hover-decoration = none) { + text-decoration: @link-hover-decoration; + } + + & > .icons:before when not (@link-hover-decoration = none) { + text-decoration: none; + } + // end fix } } diff --git a/felayout_t3kit/dev/styles/main/contentElements/socialIcons.less b/felayout_t3kit/dev/styles/main/contentElements/socialIcons.less index bd704654..361854cf 100644 --- a/felayout_t3kit/dev/styles/main/contentElements/socialIcons.less +++ b/felayout_t3kit/dev/styles/main/contentElements/socialIcons.less @@ -49,6 +49,16 @@ & > .icons:after { border-color: fade(@social-icons-hover-color, 50%); } + + // ie11 and edge fix for underline on icon - text-decoration has to be styled before it can be unstyled + & > .icons:before when not (@link-hover-decoration = none) { + text-decoration: @link-hover-decoration; + } + + & > .icons:before when not (@link-hover-decoration = none) { + text-decoration: none; + } + // end fix } }