mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-11-04 05:17:57 +00:00 
			
		
		
		
	Fix logo on small screen sizes (#191)
This commit is contained in:
		@@ -3,7 +3,8 @@
 | 
				
			|||||||
    <a class="navbar-brand" href="/">
 | 
					    <a class="navbar-brand" href="/">
 | 
				
			||||||
      <picture>
 | 
					      <picture>
 | 
				
			||||||
        <!--<source srcset="/assets/img/layout/privacy-guides-logo-dark.svg" media="(prefers-color-scheme: dark)">-->
 | 
					        <!--<source srcset="/assets/img/layout/privacy-guides-logo-dark.svg" media="(prefers-color-scheme: dark)">-->
 | 
				
			||||||
        <img src="/assets/img/layout/privacy-guides-logo-light.svg" alt="Privacy Guides Logo" width="300" height="39">
 | 
					        <source srcset="/assets/img/layout/privacy-guides-logo-notext-colorbg.svg" media="(max-width: 400px)">
 | 
				
			||||||
 | 
					        <img class="navbar-logo" src="/assets/img/layout/privacy-guides-logo-light.svg" alt="Privacy Guides Logo" height="39">
 | 
				
			||||||
      </picture>
 | 
					      </picture>
 | 
				
			||||||
    </a>
 | 
					    </a>
 | 
				
			||||||
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
 | 
					    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -90,4 +90,13 @@ h1, h2, h3:not(.h5), h4 {
 | 
				
			|||||||
  box-decoration-break: clone;
 | 
					  box-decoration-break: clone;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.navbar-logo {
 | 
				
			||||||
 | 
					  @media (max-width: 400px) {
 | 
				
			||||||
 | 
					    width: 50px;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  @media (min-width: 401px) {
 | 
				
			||||||
 | 
					    width: 300px;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@import "custom";
 | 
					@import "custom";
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user