Add defensive styles for non-square avatar images
This commit is contained in:
@@ -49,13 +49,15 @@
|
||||
}
|
||||
|
||||
.avatar {
|
||||
border-radius: 50%;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 2.5em;
|
||||
color: white;
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
height: 2.5em;
|
||||
line-height: 2.5em;
|
||||
mso-line-height-rule: exactly;
|
||||
object-fit: cover;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
width: 2.5em;
|
||||
|
||||
Reference in New Issue
Block a user