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 } }