Skip to content

Fix oval avatars in Safari - #9

Merged
arpitnarechania merged 1 commit into
datavisards:mainfrom
thinhnguyentruong:fix-safari-avatar
Oct 5, 2026
Merged

arpitnarechania merged 1 commit into
datavisards:mainfrom
thinhnguyentruong:fix-safari-avatar

Conversation

@thinhnguyentruong

Copy link
Copy Markdown
Contributor

Follow-up to #8. Safari ignores aspect-ratio on the avatar box inside the column flex card, so it renders taller than wide (oval). Replaced it with a padding-based square (height: 0; padding-bottom: 62%).

Verified in WebKit and Chromium at 1440, 1200 and 390 px wide: avatars are square in both.

Safari ignores aspect-ratio on the avatar box inside the column flex card, stretching it vertically. Use a padding-based square instead.
@thinhnguyentruong

Copy link
Copy Markdown
Contributor Author

@arpitnarechania @meow-wwww could one of you take a look when you get a chance? Thanks!

@arpitnarechania arpitnarechania self-assigned this Oct 5, 2026

@arpitnarechania arpitnarechania left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@arpitnarechania
arpitnarechania merged commit 356a07d into datavisards:main Oct 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants