Skip to content

Commit

Permalink
fix: prevent centered logo from getting cut off in IE11 (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored May 19, 2020
1 parent 6ec52b2 commit a87a9be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions newspack-theme/sass/site/header/_site-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,14 @@
max-width: inherit;
}
}

// IE 11-specific logo fix
@media screen and ( -ms-high-contrast: none ) and ( min-width: $desktop_width ) {
.site-header .custom-logo-link img {
height: auto;
max-width: 100%;
}
}
}

// Solid Background
Expand Down

0 comments on commit a87a9be

Please sign in to comment.