how to make a card to fill its parent container, along with the map inside it

As shown in this example shiny app, how to make the card to fill the its parent container, i.e. the first naveset_pill, along with the map inside it, i.e. the map should always fill the card?

As shown in the code, I've tried to set two "height" parameters, but it's not working...

1 Like

See the docs: Map — ipyleaflet documentation

You need to use:

    return ipyl.Map(zoom=4, layout=Layout(width="100%", height="100%"))

Shinylive