Merge pull request #1729 from basecamp/avatar-bulletproofing

Add defensive styles for non-square avatar images
This commit is contained in:
Jason Zimdars
2025-11-25 16:56:02 -06:00
committed by GitHub
+3 -1
View File
@@ -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;