Merge pull request #18365 from overleaf/rd-link-color

[web] Fix button links color

GitOrigin-RevId: ea8c1a4424ee85dd91995e45c0ef9a081a74546b
This commit is contained in:
Rebeka Dekany 2024-05-17 12:24:28 +02:00 committed by Copybot
parent 25d8e053be
commit 28c18e2486
2 changed files with 6 additions and 4 deletions

View file

@ -18,7 +18,3 @@ a {
color: var(--link-visited-color);
}
}
a[role='button'] {
color: inherit;
}

View file

@ -190,3 +190,9 @@
.icon-button-large {
padding: var(--spacing-05);
}
// Set the visited colour for a link that is styled as a button. This is necessary because we have a generic rule that
// sets the colour of visited links
a[role='button']:visited {
color: var(--bs-btn-color);
}