Skip to content

Commit

Permalink
css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Jul 8, 2024
1 parent 7eec3bc commit 78638fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/lib/avatar/avatar.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div style="display: flex">
<div class="adf-avatar">
<img *ngIf="src; else initialsTemplate" class="adf-avatar__image" [src]="src" [alt]="initials" [title]="tooltip" />
</div>

Expand Down
4 changes: 4 additions & 0 deletions lib/core/src/lib/avatar/avatar.component.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.adf-avatar {
display: flex;
}

.adf-avatar__image {
cursor: default;
display: inline-block;
Expand Down

0 comments on commit 78638fb

Please sign in to comment.