Skip to content

Commit e64fede

Browse files
committed
Do not force square affiliation logos
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.
1 parent 0d62cb0 commit e64fede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/public/style_domjudge.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ del {
236236
}
237237

238238
img.affiliation-logo {
239-
height: 32px;
240-
width: 32px;
239+
max-height: 32px;
240+
max-width: 32px;
241241
padding-left: 2px;
242242
}
243243

0 commit comments

Comments
 (0)