From 7ddbdab7bef6f5ab6f67a10c8a4540012d64d444 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 13 Jul 2024 02:03:33 +0800 Subject: [PATCH] Fix link buttons tlye not being applied --- src/assets/css/components.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/assets/css/components.css b/src/assets/css/components.css index 82d86f3e..a6d3137f 100644 --- a/src/assets/css/components.css +++ b/src/assets/css/components.css @@ -87,8 +87,9 @@ outline-offset: -0.25em; } -.link-btn[href^="http"] { padding-right: calc(var(--btn-right-padding) + 1.1em); } -.link-btn[href^="http"]::after { background-color: var(--clr-link-btn-txt); } +.link-btn[href^="http"] { padding-right: calc(var(--btn-right-padding) + 1.1em) !important; } +.link-btn[href^="http"]::after { background-color: var(--clr-link-btn-txt) !important; } +.link-btn[href^="http"]:hover::after { background-color: var(--clr-link-hover) !important; } /* Content Accordion */ * + .content-accordion { margin-top: var(--sz-paragraph-margin); }