Fix user menu item styling (#4985)

release/v1.15
silverwind 2018-09-27 22:58:38 +02:00 committed by techknowlogick
parent 39735723f5
commit 31d5488059
3 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

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

View File

@ -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>