Skip to content

Commit 31d5488

Browse files
silverwindtechknowlogick
authored andcommitted
Fix user menu item styling (#4985)
1 parent 3973572 commit 31d5488

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

public/css/index.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_base.less

+5
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,11 @@ pre, code {
415415
}
416416
}
417417

418+
.user-menu > .item {
419+
width: 100%;
420+
border-radius: 0 !important;
421+
}
422+
418423
.scrolling.menu {
419424
.item.selected {
420425
font-weight: 700 !important;

templates/base/head_navbar.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<span class="mobile-only">{{.SignedUser.Name}}</span>
7777
<i class="fitted octicon octicon-triangle-down not-mobile" tabindex="-1"></i>
7878
</span>
79-
<div class="menu" tabindex="-1">
79+
<div class="menu user-menu" tabindex="-1">
8080
<div class="ui header">
8181
{{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong>
8282
</div>

0 commit comments

Comments
 (0)