Skip to content

Commit

Permalink
Fix user menu item styling (#4985)
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind authored and techknowlogick committed Sep 27, 2018
1 parent 3973572 commit 31d5488
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/css/index.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions public/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,11 @@ pre, code {
}
}

.user-menu > .item {
width: 100%;
border-radius: 0 !important;
}

.scrolling.menu {
.item.selected {
font-weight: 700 !important;
Expand Down
2 changes: 1 addition & 1 deletion templates/base/head_navbar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<span class="mobile-only">{{.SignedUser.Name}}</span>
<i class="fitted octicon octicon-triangle-down not-mobile" tabindex="-1"></i>
</span>
<div class="menu" tabindex="-1">
<div class="menu user-menu" tabindex="-1">
<div class="ui header">
{{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong>
</div>
Expand Down

0 comments on commit 31d5488

Please sign in to comment.