Better menu overflow + bounding box

8 is a magic number
This commit is contained in:
Lim Chee Aun 2023-02-11 17:04:48 +08:00
parent 62eb6d6b30
commit f756f23d6e

View file

@ -14,7 +14,9 @@ function NavMenu(props) {
target: document.body,
}}
{...props}
overflow="auto"
viewScroll="close"
boundingBoxPadding="8 8 8 8"
menuButton={
<button type="button" class="button plain">
<Icon icon="menu" size="l" />