Skip to content

Commit

Permalink
Fixed primefaces#9895 - Avatar-Images are overflowing circle-shaped p…
Browse files Browse the repository at this point in the history
…arent-Div
  • Loading branch information
Jakob Schade committed Feb 15, 2021
1 parent b63485d commit 9391f7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/components/avatar/avatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@

.p-avatar.p-avatar-circle {
border-radius: 50%;
overflow: hidden;
}

.p-avatar .p-avatar-icon {
font-size: 1rem;
}

.p-avatar img {
.p-avatar img {
width: 100%;
height: 100%;
}
}

0 comments on commit 9391f7a

Please sign in to comment.