show sort control for signed out users
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.auth-panel__column {
|
||||
&:nth-child(1) {
|
||||
overflow: hidden;
|
||||
font-weight: 700;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
.auth-panel_logged-in {
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
|
||||
.auth-panel__column {
|
||||
&:first-child {
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,21 +88,17 @@ export default class AuthPanel extends Component {
|
||||
|
||||
{user.admin && ' • '}
|
||||
|
||||
{
|
||||
!!user.id && (
|
||||
<span className="auth-panel__sort">
|
||||
Sort by
|
||||
{' '}
|
||||
<select className="auth-panel__select" onChange={this.onSortChange}>
|
||||
{
|
||||
sortArray.map(sort => (
|
||||
<option value={sort.value} selected={sort.selected}>{sort.label}</option>
|
||||
))
|
||||
}
|
||||
</select>
|
||||
</span>
|
||||
)
|
||||
}
|
||||
<span className="auth-panel__sort">
|
||||
Sort by
|
||||
{' '}
|
||||
<select className="auth-panel__select" onChange={this.onSortChange}>
|
||||
{
|
||||
sortArray.map(sort => (
|
||||
<option value={sort.value} selected={sort.selected}>{sort.label}</option>
|
||||
))
|
||||
}
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -2,6 +2,5 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user