diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-04 16:20:09 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-04 16:20:23 +0200 |
| commit | 5e5eeb397d51d2002ca4d892ea59b3c1fd654046 (patch) | |
| tree | 11d35ebd7413909dca9accfa51e16ab0ec50f9d9 /layouts/shortcodes | |
| parent | 00ef4aaba83bc8962b308278be735366b844ed6e (diff) | |
| download | danixxyz-theme-5e5eeb397d51d2002ca4d892ea59b3c1fd654046.tar.gz danixxyz-theme-5e5eeb397d51d2002ca4d892ea59b3c1fd654046.zip | |
fix: add not-prose to cta-block to prevent prose link color override
Tailwind prose's `a` rule was overriding btn-primary color in light mode.
not-prose excludes the CTA wrapper from prose link styles.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'layouts/shortcodes')
| -rw-r--r-- | layouts/shortcodes/actions.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/actions.html b/layouts/shortcodes/actions.html index 2c2b07e..b4a0df5 100644 --- a/layouts/shortcodes/actions.html +++ b/layouts/shortcodes/actions.html @@ -10,7 +10,7 @@ {{- $isDownload := eq $use "download" -}} {{- if $url -}} -<div class="cta-block {{ $outclass }}"> +<div class="cta-block not-prose {{ $outclass }}"> {{- with $caption -}} <p class="cta-block__caption">{{ . }}</p> {{- end -}} |
