From 18f8ebb2eb30ae50ff911bbb1411cc7c2581d63f Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 9 Jan 2024 18:33:50 -0500 Subject: [PATCH] UX: ensure links styled as buttons don't get visited color (#25199) --- app/assets/stylesheets/common/components/buttons.scss | 4 ++++ 1 file changed, 4 insertions(+) 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,