Skip to content

Commit d4189bb

Browse files
authored
Merge pull request DSpace#5005 from pzlakowski/fix/aspect-ratio-for-community-collection-logos
fix: distortion of community/collection logo
2 parents ec0c3ee + 2299d44 commit d4189bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
img {
22
max-width: var(--ds-comcol-logo-max-width);
33
max-height: var(--ds-comcol-logo-max-height);
4+
object-fit: contain;
5+
object-position: left center;
46
}

0 commit comments

Comments
 (0)