Skip to content

Commit 46349c4

Browse files
authored
Merge pull request #22811 from Sujan-6905/fix-btn
Fix: make button shortcode fully clickable
2 parents a0d7b50 + ca6765e commit 46349c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

layouts/shortcodes/button.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,4 @@
77
{{- else -}}
88
{{ $url = ref .Page $url }}
99
{{- end -}}
10-
<div class="button not-prose">
11-
<a href="{{ $url }}">{{ $text }}</a>
12-
</div>
10+
<a class="button not-prose" href="{{ $url }}">{{ $text }}</a>

0 commit comments

Comments
 (0)