TopbarDesktop: use object-fit to loose the style rules.

This commit is contained in:
Vesa Luusua 2018-06-25 17:55:00 +03:00
parent 2e4aa51a62
commit 7d3f7b3682

View file

@ -73,8 +73,15 @@
}
.logo {
width: 155px;
/* If height is increased, change link paddings accordingly */
height: 27px;
/* Good aspect ratio should be less than 160/27 (width/height) */
/* NOTE: extremely wide logos, need special handling. */
width: auto;
max-width: 220px;
object-fit: contain;
object-position: left center;
}
/* Search */