Stefan Larsen Stefan Larsen - 4 months ago 5x
HTML Question

Logo - small or large wont work

Hey guys. I got this page where there a problem with the logo.
When you scroll down so the logo is going to be small and then up again it should be big again. It works fine on safari etc. but not on chrome.
If i right click on it, it is going to be as it need to be. But it need to do it by it self like in safari. Anyone who can tell me what the problem is?

<div class="site-logo">
<a href="/">
<img src="/assets/images/kvejborg-logo.svg" alt="Kvejborg ApS logo">

@media screen and (min-width: 64em)
.site-logo img {
width: auto;
height: 100%;


Adding display: block; on the logo/img seems to solve the problem