[ui] tweak profile image

This commit is contained in:
nymkappa 2023-08-21 23:18:55 +02:00
parent bfc3fbe397
commit 5005817529
No known key found for this signature in database
GPG key ID: E155910B16E8BD04
2 changed files with 5 additions and 5 deletions

View file

@ -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>

View file

@ -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;
}