mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 17:34:52 +08:00
button: fix visuals #577
This commit is contained in:
parent
2835ef004a
commit
1381995bac
@ -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…
x
Reference in New Issue
Block a user