Linkified the username in the userbox in Nox.

We don't need two profile menu items.
Removed some excessive padding from the Nox profiles.
This commit is contained in:
Azareal 2018-09-20 22:39:03 +10:00
parent 7de911d78c
commit 06f20c3e1f
3 changed files with 11 additions and 3 deletions

View File

@ -44,8 +44,8 @@
<div class="user_box"> <div class="user_box">
<img src="{{.CurrentUser.Avatar}}" /> <img src="{{.CurrentUser.Avatar}}" />
<div class="option_box"> <div class="option_box">
<span class="username">{{.CurrentUser.Name}}</span> <a href="{{.CurrentUser.Link}}" class="username">{{.CurrentUser.Name}}</a>
<span class="alerts">21 new alerts</span> <span class="alerts">No new alerts</span>
</div> </div>
</div> </div>
{{end}} {{end}}

View File

@ -995,7 +995,6 @@ input[type=checkbox]:checked + label .sel {
.user_box { .user_box {
display: none; display: none;
} }
#back { #back {
flex-direction: column; flex-direction: column;
} }
@ -1012,6 +1011,12 @@ input[type=checkbox]:checked + label .sel {
} }
} }
@media(min-width: 751px) {
.menu_profile {
display: none;
}
}
@media(max-width: 850px) { @media(max-width: 850px) {
/**/ /**/
} }

View File

@ -34,6 +34,9 @@
padding: 12px; padding: 12px;
} }
.colstack_right .colstack_head:not(:first-child) {
margin-top: 0px;
}
#profile_right_lane { #profile_right_lane {
width: 100%; width: 100%;
} }