Skip to content

Commit 10bbf07

Browse files
committed
Fix navbar + menu flashing
1 parent ab1948d commit 10bbf07

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

templates/base/head_navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
105105
<span class="only-mobile">{{ctx.Locale.Tr "create_new"}}</span>
106106
</span>
107-
<div class="menu left">
107+
<div class="menu">
108108
<a class="item" href="{{AppSubUrl}}/repo/create">
109109
{{svg "octicon-plus"}} {{ctx.Locale.Tr "new_repo"}}
110110
</a>

web_src/css/modules/header.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ h4.ui.header .sub.header {
135135
}
136136

137137
/* open dropdown menus to the left in right-attached headers */
138-
.ui.attached.header > .ui.right .ui.dropdown .menu {
138+
.ui.attached.header > .ui.right .ui.dropdown .menu,
139+
.navbar-right .ui.dropdown .menu {
139140
right: 0;
140141
left: auto;
141142
}

0 commit comments

Comments
 (0)