tweak avatar style
This commit is contained in:
parent
58a4d6bea0
commit
2d1bac84e0
@ -1,7 +1,6 @@
|
||||
.bs-avatar {
|
||||
width: 2.1rem;
|
||||
height: 2.1rem;
|
||||
margin-top: -8px;
|
||||
image-rendering: pixelated;
|
||||
border-radius: 2px;
|
||||
filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
|
||||
|
@ -1,6 +1,6 @@
|
||||
<li class="nav-item dropdown user-menu">
|
||||
<a href="#" class="nav-link" data-toggle="dropdown">
|
||||
<img src="{{ avatar }}" class="bs-avatar mr-1" alt="User Image">
|
||||
<a href="#" class="nav-link d-flex align-items-center" data-toggle="dropdown">
|
||||
<img src="{{ avatar }}" class="bs-avatar mr-2" alt="User Image">
|
||||
<span class="d-none d-md-inline d-sm-block" data-mark="nickname">
|
||||
{{ user.nickname ?? user.email }}
|
||||
</span>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="user-panel mt-3 mb-3 {{ badges|length > 0 ? 'pb-2' }}">
|
||||
<div class="d-flex">
|
||||
<div class="image">
|
||||
<img src="{{ avatar }}" class="img-circle elevation-2" alt="User Image">
|
||||
<img src="{{ avatar }}" class="bs-avatar" alt="User Image">
|
||||
</div>
|
||||
<div class="info">
|
||||
<a class="d-block" data-mark="nickname">{{ user.nickname ?? user.email }}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user