mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
button: fix visuals #577
This commit is contained in:
parent
2835ef004a
commit
1381995bac
2 changed files with 20 additions and 0 deletions
|
@ -115,6 +115,22 @@ Once the button is clicked, it opens another browser tab for the given URL.
|
|||
|
||||
### Icon
|
||||
|
||||
#### Empty
|
||||
|
||||
````go
|
||||
{{%/* button href="https://gohugo.io/" icon=" " %}}{{% /button */%}}
|
||||
````
|
||||
|
||||
{{% button href="https://gohugo.io/" icon=" " %}}{{% /button %}}
|
||||
|
||||
#### Only
|
||||
|
||||
````go
|
||||
{{%/* button href="https://gohugo.io/" icon="download" %}}{{% /button */%}}
|
||||
````
|
||||
|
||||
{{% button href="https://gohugo.io/" icon="download" %}}{{% /button %}}
|
||||
|
||||
#### To the Left
|
||||
|
||||
````go
|
||||
|
|
|
@ -1365,6 +1365,10 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
|
|||
user-select: none;
|
||||
}
|
||||
|
||||
.btn > a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.btn > :where(button) {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
|
|
Loading…
Reference in a new issue