UX: remove current username from header
This commit is contained in:
parent
3cf433ab1e
commit
65e941f652
|
@ -33,13 +33,6 @@
|
|||
{{/if}}
|
||||
|
||||
<div class='panel clearfix'>
|
||||
{{#unless showExtraInfo}}
|
||||
<div class='current-username'>
|
||||
{{#if currentUser}}
|
||||
<span class='username'><a {{bind-attr href="currentUser.path"}}>{{currentUser.displayName}}</a></span>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
{{#unless currentUser}}
|
||||
{{#if showSignUpButton}}
|
||||
<button {{action showCreateAccount}} class='btn btn-primary btn-small sign-up-button'>
|
||||
|
|
|
@ -39,17 +39,6 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.current-username {
|
||||
float: left;
|
||||
a {
|
||||
color: $header_primary;
|
||||
font-size: 14px;
|
||||
max-width: 200px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
button.login-button, button.sign-up-button {
|
||||
float: left;
|
||||
margin-top: 7px;
|
||||
|
|
|
@ -233,11 +233,6 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.d-header .current-username {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.d-header .icons > li {
|
||||
float: right;
|
||||
}
|
||||
|
|
|
@ -34,9 +34,6 @@ and (max-width : 570px) {
|
|||
.full-width {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.d-header .current-username a {display: none;}
|
||||
|
||||
}
|
||||
|
||||
header {
|
||||
|
|
|
@ -11,23 +11,10 @@
|
|||
padding-right: 3px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
.current-username {
|
||||
a {
|
||||
display:block;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all
|
||||
and (max-width : 570px) {
|
||||
.d-header {
|
||||
.current-username {
|
||||
a {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.extra-info-wrapper {display: none;}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,12 +13,6 @@
|
|||
.panel {
|
||||
margin-right: 20px;
|
||||
}
|
||||
.current-username {
|
||||
display: none;
|
||||
a {
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.icons {
|
||||
.badge-notification {
|
||||
|
|
Loading…
Reference in New Issue