From b41e00292457c79b8c49a91f5dd1b8cfd54a7848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lloren=C3=A7=20Muntaner?= Date: Thu, 5 Dec 2024 13:28:04 +0100 Subject: [PATCH] Fix button text only color on hover (#2724) * Fix button text only color on hover * CR changes --- src/frontend/src/styles/main.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontend/src/styles/main.css b/src/frontend/src/styles/main.css index 5f04d12a30..0993d197b2 100644 --- a/src/frontend/src/styles/main.css +++ b/src/frontend/src/styles/main.css @@ -1724,11 +1724,6 @@ by all browsers (FF is missing) */ border: none; } -.c-button--textOnly:hover, -.c-button--textOnly:focus { - color: var(--rc-interactionHighlight-text); -} - .c-button:not([disabled]):focus, .c-button:not([disabled]):hover { color: var(--rc-onButton); @@ -1739,6 +1734,11 @@ by all browsers (FF is missing) */ text-decoration: none; } +.c-button--textOnly:not([disabled]):hover, +.c-button--textOnly:not([disabled]):focus { + color: var(--rc-interactionHighlight-text); +} + .c-button--secondary { background: var(--rc-button-secondary); color: var(--rc-onButton-secondary);