fix(SW-2101): do not apply underline to Material icons inside Link and Button

This commit is contained in:
Michael Zetterberg
2025-03-31 16:36:31 +02:00
parent d513184be4
commit 35f9c3aab5
7 changed files with 78 additions and 8 deletions

View File

@@ -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,