Skip to content

A platform for community discussion. Free, open, simple.

UX: ensure links styled as buttons don't get visited color (#25199)

Kris18f8ebb2eb30
diff --git a/app/assets/stylesheets/common/components/buttons.scss b/app/assets/stylesheets/common/components/buttons.scss
index 3049673456e..a30b39acb98 100644
--- a/app/assets/stylesheets/common/components/buttons.scss
+++ b/app/assets/stylesheets/common/components/buttons.scss
@@ -20,6 +20,10 @@
margin: 0;
font-weight: normal;
color: $text-color;
+ &:visited {
+ // covers cases where we add button classes to links
+ color: $text-color;
+ }
background-color: $bg-color;
background-image: linear-gradient(
to bottom,