Merge pull request #22811 from Sujan-6905/fix-btn

Fix: make button shortcode fully clickable
This commit is contained in:
CrazyMax 2025-06-16 13:16:41 +02:00 committed by GitHub
commit 46349c4988
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -7,6 +7,4 @@
{{- else -}} {{- else -}}
{{ $url = ref .Page $url }} {{ $url = ref .Page $url }}
{{- end -}} {{- end -}}
<div class="button not-prose"> <a class="button not-prose" href="{{ $url }}">{{ $text }}</a>
<a href="{{ $url }}">{{ $text }}</a>
</div>