mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-07-03 19:32:11 +00:00
Merge remote-tracking branch 'discourse/master'
This commit is contained in:
commit
628a523928
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Custom Header Links",
|
"name": "Custom Header Links",
|
||||||
"about_url": "https://meta.discourse.org/t/",
|
"about_url": "https://meta.discourse.org/t/custom-header-links/90588",
|
||||||
"license_url": "https://github.com/hnb-ku/discourse-custom-header-links/blob/master/LICENSE",
|
"license_url": "https://github.com/hnb-ku/discourse-custom-header-links/blob/master/LICENSE",
|
||||||
"component": true
|
"component": true
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
a {
|
a {
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
color: $primary;
|
color: $header_primary;
|
||||||
font-size: $font-up-1;
|
font-size: $font-up-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,8 @@ customHeaderLinks.split("|").map(i => {
|
|||||||
{
|
{
|
||||||
href: linkHref,
|
href: linkHref,
|
||||||
title: linkTitle,
|
title: linkTitle,
|
||||||
target: linkTarget
|
target: linkTarget,
|
||||||
|
attributes: { "data-auto-route": "true" }
|
||||||
},
|
},
|
||||||
linkText
|
linkText
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user