mirror of https://github.com/jpanther/congo.git
💄 Fix style issue with button shortcode
parent
d5f3ff2946
commit
1a32633896
|
@ -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
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue