Skip to content

Conversation

Kevinjil
Copy link
Contributor

According to the spec, they should be 64x64. We warn on import if they are not, but if we import different sized icons they get stretched. Instead, assume logos of at least 32px in width OR 32px in height and scale them such they are contained in the defined 32x32px reserved space.

Before:
before

After:
after

According to the spec, they should be 64x64. We warn on import if they
are not, but if we import different sized icons they get stretched.
Instead, assume logos of at least 32px in width OR 32px in height and
scale them such they are contained in the defined 32x32px reserved
space.
@Kevinjil Kevinjil added this pull request to the merge queue Sep 19, 2024
Merged via the queue into DOMjudge:main with commit e64fede Sep 19, 2024
26 checks passed
@Kevinjil Kevinjil deleted the affiliation-logo-stretch branch September 19, 2024 07:35
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