fix: use full header height for upright logos (#2044)

This commit is contained in:
Max Peintner
2021-07-20 07:12:23 +02:00
committed by GitHub
parent 3d865b3178
commit 6ff434e853
3 changed files with 20 additions and 20 deletions

View File

@@ -2,21 +2,21 @@ $lgn-header-padding: 0;
$lgn-header-margin: auto; $lgn-header-margin: auto;
.lgn-header { .lgn-header {
display: flex; display: flex;
position: relative; position: relative;
margin: $lgn-header-margin; margin: $lgn-header-margin;
padding: $lgn-header-padding; padding: $lgn-header-padding;
max-width: 250px; max-width: 250px;
min-height: 150px; min-height: 150px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.lgn-logo { .lgn-logo {
display: block; display: block;
height: 100px; height: 100%;
margin: 0 auto; margin: 0 auto;
max-width: 250px; max-width: 250px;
max-height: 150px; max-height: 150px;
object-fit: contain; object-fit: contain;
} }
} }

View File

@@ -245,7 +245,7 @@ footer .watermark .lgn-logo-watermark {
} }
.lgn-header .lgn-logo { .lgn-header .lgn-logo {
display: block; display: block;
height: 100px; height: 100%;
margin: 0 auto; margin: 0 auto;
max-width: 250px; max-width: 250px;
max-height: 150px; max-height: 150px;
@@ -1134,7 +1134,7 @@ footer .watermark .lgn-logo-watermark {
} }
.lgn-header .lgn-logo { .lgn-header .lgn-logo {
display: block; display: block;
height: 100px; height: 100%;
margin: 0 auto; margin: 0 auto;
max-width: 250px; max-width: 250px;
max-height: 150px; max-height: 150px;
@@ -2365,7 +2365,7 @@ i {
} }
.lgn-header .lgn-logo { .lgn-header .lgn-logo {
display: block; display: block;
height: 100px; height: 100%;
margin: 0 auto; margin: 0 auto;
max-width: 250px; max-width: 250px;
max-height: 150px; max-height: 150px;

File diff suppressed because one or more lines are too long