🐛 Fix button shortcode overlapping TOC

Fixes #337
This commit is contained in:
James Panther
2022-11-08 09:28:19 +11:00
parent 5a05141743
commit e71c392bef
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<a
class="!rounded-md bg-primary-600 px-4 py-2 !text-neutral !no-underline hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
class="inline-block !rounded-md bg-primary-600 px-4 py-1 !text-neutral !no-underline hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
{{ with .Get "href" }}href="{{ . }}"{{ end }}
{{ with .Get "target" }}target="{{ . }}"{{ end }}
{{ with .Get "download" }}download="{{ . }}"{{ end }}