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">
<img src="{{.CurrentUser.Avatar}}" />
<div class="option_box">
<span class="username">{{.CurrentUser.Name}}</span>
<span class="alerts">21 new alerts</span>
<a href="{{.CurrentUser.Link}}" class="username">{{.CurrentUser.Name}}</a>
<span class="alerts">No new alerts</span>
</div>
</div>
{{end}}

View File

@ -995,7 +995,6 @@ input[type=checkbox]:checked + label .sel {
.user_box {
display: none;
}
#back {
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) {
/**/
}

View File

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