Skip to content

Commit

Permalink
fix: correct centered logo sizing (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored May 17, 2020
1 parent e7ba924 commit a9c4bfd
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions newspack-theme/sass/site/header/_site-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@
.h-cl {
@include media( tablet ) {
.site-header .middle-header-contain .wrapper > div {
flex: 1;
width: 35%;

&.site-branding {
Expand Down Expand Up @@ -217,12 +216,11 @@
}

.site-header .custom-logo-link img {
max-width: inherit;
height: auto;
max-width: 100%;
margin: auto;
}
}

@include media( tablet ) {
&.h-dh,
&.h-sub {
.site-header .middle-header-contain .wrapper .site-branding {
Expand Down Expand Up @@ -254,6 +252,21 @@
}
}
}

@include media( desktop ) {
.site-header .middle-header-contain .wrapper > div {
flex: 1;
width: auto;

&.site-branding {
width: auto;
}
}

.site-header .custom-logo-link img {
max-width: inherit;
}
}
}

// Solid Background
Expand Down

0 comments on commit a9c4bfd

Please sign in to comment.