fix(SW-2101): do not apply underline to Material icons inside Link and Button
This commit is contained in:
@@ -278,7 +278,10 @@ a.default {
|
||||
.baseText:focus,
|
||||
.baseText:hover {
|
||||
color: var(--Base-Button-Text-On-Fill-Hover);
|
||||
text-decoration: underline;
|
||||
|
||||
& span:not(:global(.material-symbols)) {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.baseText:disabled {
|
||||
@@ -297,7 +300,6 @@ a.default {
|
||||
.icon.baseText:focus svg *,
|
||||
.icon.baseText:hover svg * {
|
||||
fill: var(--Base-Button-Text-On-Fill-Hover);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.icon.baseText:disabled svg,
|
||||
|
||||
Reference in New Issue
Block a user