Browse Source

Fix user menu item styling (#4985)

for-closed-social
silverwind 6 years ago
committed by techknowlogick
parent
commit
31d5488059
3 changed files with 7 additions and 2 deletions
  1. +1
    -1
      public/css/index.css
  2. +5
    -0
      public/less/_base.less
  3. +1
    -1
      templates/base/head_navbar.tmpl

+ 1
- 1
public/css/index.css
File diff suppressed because it is too large
View File


+ 5
- 0
public/less/_base.less View File

@ -415,6 +415,11 @@ pre, code {
} }
} }
.user-menu > .item {
width: 100%;
border-radius: 0 !important;
}
.scrolling.menu { .scrolling.menu {
.item.selected { .item.selected {
font-weight: 700 !important; font-weight: 700 !important;

+ 1
- 1
templates/base/head_navbar.tmpl View File

@ -76,7 +76,7 @@
<span class="mobile-only">{{.SignedUser.Name}}</span> <span class="mobile-only">{{.SignedUser.Name}}</span>
<i class="fitted octicon octicon-triangle-down not-mobile" tabindex="-1"></i> <i class="fitted octicon octicon-triangle-down not-mobile" tabindex="-1"></i>
</span> </span>
<div class="menu" tabindex="-1">
<div class="menu user-menu" tabindex="-1">
<div class="ui header"> <div class="ui header">
{{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong> {{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong>
</div> </div>

Loading…
Cancel
Save