💄 Fix style issue with button shortcode

pull/2/head
James Panther 2021-08-19 14:09:43 +10:00
parent d5f3ff2946
commit 1a32633896
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
3 changed files with 10 additions and 4 deletions

View File

@ -8,6 +8,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
---
## [Unreleased]
### Fixed
- Fix style issue with `button` shortcode
## [1.1.1] - 2020-08-19
### Fixed

View File

@ -1,8 +1,8 @@
<button
class="px-4 py-1 !text-white !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
<a
class="px-4 py-2 !text-white !no-underline !rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
{{ with .Get "href" }}href="{{ . }}"{{ end }}
{{ with .Get "target" }}target="{{ . }}"{{ end }}
role="button"
>
{{ .Inner }}
</button>
</a>

File diff suppressed because one or more lines are too long