Closed
Description
Feature Description
Currently, the google-map object takes a height and width input which are then coerced to px values. This appears to break whenever a value is provided that isn't a css length unit.
Use Case
I'd like to set the height of the google to be calc(100vh - var(--header-height))
. Unfortunately, because the api is designed to use these inputs as inline styles I'm forced to use !important
to override the default 500px
values. For example, if I use css in the global scope:
.map-container {
height: calc(100vh - var(--header-height));
width: 100%;
}
Solution
Remove the inputs and allow folks to style the map natively using css.