([shinylive reprex](https://shinylive.io/py/editor/#code=NobwRAdghgtgpmAXGKAHVA6VBPMAaMAYwHsIAXOcpMAMwCdiYACAZwAsBLCbJjmVYnTJMAgujxMArhwA6EOWlQB9aUwC8UjligBzOEugA3AEZQ6ACjlNrmjEaWooEOABtLEG56YywABV1wTACMPnhWXtbSGIRmACaWYADCccE+AJRhHhG2MXTxPsl5TABM6ZmeGeHWLByxcKZ0alE1dQ0JAGLExGVVTDQcLi5Qxi5wagAqdJJw5TZkHGSjaj40XT5yaXJb0OjqoujmiiocEgBypHCbEGAAvgC6QA)) In the example above, notice how there isn't any gap (i.e., padding) between the cards (when there should be). If you remove the sidebar, `gap` is applied correctly. Also worth noting that the R version of this example doesn't appear to have this bug