Skip to content

Commit e358515

Browse files
committed
Improve global header menu
1 parent f3121a2 commit e358515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/Plugin.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ class Plugin extends gitbucket.core.plugin.Plugin {
4747
val path = settings.baseUrl.getOrElse(context.getContextPath)
4848
Seq(
4949
".*" -> s"""
50-
|$$('a.brand').after(
51-
| $$('<span style="float: left; margin-top: 10px;">|&nbsp;&nbsp;&nbsp;&nbsp;<a href="${path}/gist" style="color: black;">Snippet</a></span>')
50+
|$$('a.global-header-menu:last').after(
51+
| $$('<a href="${path}/gist" class="global-header-menu">Gist</a>')
5252
|);
5353
""".stripMargin
5454
)

0 commit comments

Comments
 (0)