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);