Skip to content

small-user-avatars - Make avatar size adaptive - #8852

Merged
fregante merged 4 commits into
refined-github:mainfrom
SunsetTechuila:user-avatars
Jan 10, 2026
Merged

fregante merged 4 commits into
refined-github:mainfrom
SunsetTechuila:user-avatars

Conversation

@SunsetTechuila

Copy link
Copy Markdown
Contributor

fixes #8802

Test URLs

#8802 (comment)

Screenshot

image

@github-actions github-actions Bot added the bug label Jan 5, 2026
@fregante

fregante commented Jan 5, 2026

Copy link
Copy Markdown
Member

This is most likely correct, it just needs to be verified in every place we support (screenshots would be great)

@SunsetTechuila

SunsetTechuila commented Jan 6, 2026 •

Copy link
Copy Markdown
Contributor Author

@SunsetTechuila
SunsetTechuila marked this pull request as ready for review January 6, 2026 09:10
@SunsetTechuila SunsetTechuila changed the title small-user-avatars - make avatar size adaptive small-user-avatars - Make avatar size adaptive Jan 6, 2026
@SunsetTechuila

SunsetTechuila commented Jan 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Revert "make rest avatar images adaptive"

Unnecessary because GitHub doesn't respect browser font size settings 🔥🚀💪

Comment on lines +4 to +5
width: 1em !important;
height: 1em;

@SunsetTechuila SunsetTechuila Jan 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

default font-size is 14px

With min-width/height Image
Without Image

@fregante
fregante merged commit 8b63c99 into refined-github:main Jan 10, 2026
@fregante

Copy link
Copy Markdown
Member

LGTM

@SunsetTechuila
SunsetTechuila deleted the user-avatars branch January 10, 2026 09:58
@SunsetTechuila

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

small-user-avatars - user avatar in # (h1) is tiny

2 participants