Skip to content

Commit 50c2e52

Browse files
pxamikedmh
authored andcommitted
[BUGFIX] ie11 and edge social-icons underline fix (#521)
1 parent bb66922 commit 50c2e52

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Resources/Public/less/main.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7158,6 +7158,16 @@ div.awesomplete li[aria-selected="true"] mark {
71587158
& > .icons:after {
71597159
border-color: fade(@social-icons-hover-color, 50%);
71607160
}
7161+
7162+
// ie11 and edge fix for underline on icon - text-decoration has to be styled before it can be unstyled
7163+
& > .icons:before when not (@link-hover-decoration = none) {
7164+
text-decoration: @link-hover-decoration;
7165+
}
7166+
7167+
& > .icons:before when not (@link-hover-decoration = none) {
7168+
text-decoration: none;
7169+
}
7170+
// end fix
71617171
}
71627172
}
71637173

felayout_t3kit/dev/styles/main/contentElements/socialIcons.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@
4949
& > .icons:after {
5050
border-color: fade(@social-icons-hover-color, 50%);
5151
}
52+
53+
// ie11 and edge fix for underline on icon - text-decoration has to be styled before it can be unstyled
54+
& > .icons:before when not (@link-hover-decoration = none) {
55+
text-decoration: @link-hover-decoration;
56+
}
57+
58+
& > .icons:before when not (@link-hover-decoration = none) {
59+
text-decoration: none;
60+
}
61+
// end fix
5262
}
5363
}
5464

0 commit comments

Comments
 (0)