mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 22:58:30 +01:00
[ui] tweak profile image
This commit is contained in:
parent
bfc3fbe397
commit
5005817529
2 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,7 @@
|
|||
<ng-container *ngIf="servicesEnabled">
|
||||
<div *ngIf="user" class="profile_image_container" [class]="{'anon': !user.imageMd5}" (click)="hamburgerClick()">
|
||||
<img *ngIf="user.imageMd5" [src]="'/api/v1/services/account/image/' + user.username + '?md5=' + user.imageMd5" class="profile_image">
|
||||
<app-svg-images *ngIf="!user.imageMd5" name="anon"></app-svg-images>
|
||||
<app-svg-images style="color: lightgrey; fill: lightgray" *ngIf="!user.imageMd5" name="anon"></app-svg-images>
|
||||
</div>
|
||||
<div *ngIf="user === null" class="profile_image_container" (click)="hamburgerClick()">
|
||||
<app-svg-images name="hamburger" height="40"></app-svg-images>
|
||||
|
|
|
@ -225,12 +225,12 @@ nav {
|
|||
align-self: center;
|
||||
cursor: pointer;
|
||||
&.anon {
|
||||
border: 1px solid lightgrey;
|
||||
color: grey;
|
||||
border-radius: 10px;
|
||||
border: 1.5px solid lightgrey;
|
||||
color: lightgrey;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
.profile_image {
|
||||
height: 35px;
|
||||
border-radius: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue