Last active
November 29, 2022 11:20
-
-
Save carmoreira/059f83ca0934f3d342f101ca5d390afa to your computer and use it in GitHub Desktop.
Full height map css hack - Interactive Geo Maps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.map_wrapper .map_aspect_ratio { | |
padding-top: 0 !important; | |
height: calc(100vh) !important; | |
max-height: calc(100vh) !important; | |
} | |
/* If you only want it on smaller screens */ | |
@media only screen and (max-width: 768px) { | |
.map_wrapper .map_aspect_ratio { | |
padding-top: 0 !important; | |
height: calc(100vh) !important; | |
max-height: calc(100vh) !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment