mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 20:53:24 +10:00
TopbarDesktop: use object-fit to loose the style rules.
This commit is contained in:
parent
2e4aa51a62
commit
7d3f7b3682
1 changed files with 8 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue