From a84dec6d944ae82002b85aa2bd75fbb36336dcaf Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 8 Apr 2026 16:44:34 +0200 Subject: [PATCH] FEATURE Refining behaviour and aspect --- resources/css/blocks/cta.css | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/resources/css/blocks/cta.css b/resources/css/blocks/cta.css index 2b557c0..7e435a0 100644 --- a/resources/css/blocks/cta.css +++ b/resources/css/blocks/cta.css @@ -1,7 +1,26 @@ .wp-block-carhop-blocks-cta { - @apply internal-link-with-icon; + &:has(#arrow-internal-link) { + @apply internal-link-with-svg-icon; + } + &:has(#arrow-external-link) { + @apply external-link-with-svg-icon; + } + + svg { + @apply w-10 h-10; + + path, + circle { + stroke: currentColor; + stroke-width: 2px; + } + } &[href^='#'] { @apply internal-link-self-page-anchor; } + + &:after { + content: none !important; + } }