Improve organization logos (update assets and refactored styling) (#16730)

* Fix organization logos styling:

- stop forcing explicit height to the image itself, this will remove any visible stretching.
- Force 2 column for screen size < 1200px (and remove flex-wrap) to make sure no single logo that wraps to the next line.

* Update crest images with higher resolution assets

---------

Co-authored-by: M Fahru <m.fahru@overleaf.com>
GitOrigin-RevId: c463d207fdbd750cdbfe6666bb79f69dfd85c673
This commit is contained in:
Thomas 2024-01-26 12:00:19 +01:00 committed by Copybot
parent f09d481eea
commit 19c6c31e87
5 changed files with 12 additions and 13 deletions

View file

@ -454,29 +454,28 @@
}
}
.collaboration-logos-container {
.organization-logos-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
height: 62px;
@media (max-width: @screen-sm-max) {
@media (max-width: @screen-md-max) {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
gap: 30px;
justify-items: center;
height: unset;
}
.enterprise-logo {
display: inline-block;
.organization-logo {
object-fit: contain;
width: 100%;
height: 100%;
padding: 0 @padding-md;
height: 35px;
@media (max-width: @screen-sm-max) {
margin-top: @margin-md;
}
}
.logo-height-45 {
height: 45px;
@media (max-width: @screen-md-max) {
max-height: 40px;
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 18 KiB