Skip to content

Commit e1911d4

Browse files
authored
dev: fix item setting badges (#6009)
1 parent 9691763 commit e1911d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/layouts/_shortcodes/item-settings.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@
3737
{{ partial "shortcodes/badge.html" (dict
3838
"border" false
3939
"icon" "calendar"
40+
"class" "hx:mx-1"
4041
"content" (print "Since golangci-lint " .since)
4142
)
4243
}}
4344
{{ if .deprecation -}}
4445
{{ partial "shortcodes/badge.html" (dict
4546
"border" true
4647
"icon" "sparkles"
48+
"class" "hx:mx-1"
4749
"content" (print "Deprecated since " .deprecation.since)
4850
"type" "error"
4951
)
@@ -53,6 +55,7 @@
5355
{{ partial "shortcodes/badge.html" (dict
5456
"border" false
5557
"icon" "sparkles"
58+
"class" "hx:mx-1"
5659
"content" "New"
5760
"type" "warning"
5861
)
@@ -62,6 +65,7 @@
6265
{{ partial "shortcodes/badge.html" (dict
6366
"border" false
6467
"icon" "sparkles"
68+
"class" "hx:mx-1"
6569
"content" "Autofix"
6670
"type" "info"
6771
)
@@ -72,6 +76,7 @@
7276
{{ partial "shortcodes/badge.html" (dict
7377
"border" true
7478
"icon" "github"
79+
"class" "hx:mx-1"
7580
"content" "Repository"
7681
"link" .originalURL
7782
)

0 commit comments

Comments
 (0)