Add max-width = @medium for img in uk-logo section.
This commit is contained in:
parent
c92a0dea1b
commit
7aa2f634fc
|
@ -6,6 +6,7 @@
|
|||
@navbar-nav-item-font-size: @global-small-font-size;
|
||||
@navbar-nav-item-font-weight: 600;
|
||||
@navbar-nav-item-height: @global-header-height;
|
||||
@navbar-nav-logo-max-width: @width-medium-width;
|
||||
@navbar-nav-item-color: @global-color;
|
||||
@navbar-nav-item-before-background: @global-secondary-background;
|
||||
@navbar-nav-item-hover-color: @navbar-nav-item-before-background;
|
||||
|
@ -52,9 +53,13 @@
|
|||
/* Navbar */
|
||||
|
||||
.hook-navbar() {
|
||||
|
||||
& .uk-logo {
|
||||
|
||||
& > img {
|
||||
height: @navbar-nav-item-height - 20px;
|
||||
max-width: @navbar-nav-logo-max-width - 30px !important;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue