Better menu overflow + bounding box
8 is a magic number
This commit is contained in:
parent
62eb6d6b30
commit
f756f23d6e
1 changed files with 2 additions and 0 deletions
|
@ -14,7 +14,9 @@ function NavMenu(props) {
|
||||||
target: document.body,
|
target: document.body,
|
||||||
}}
|
}}
|
||||||
{...props}
|
{...props}
|
||||||
|
overflow="auto"
|
||||||
viewScroll="close"
|
viewScroll="close"
|
||||||
|
boundingBoxPadding="8 8 8 8"
|
||||||
menuButton={
|
menuButton={
|
||||||
<button type="button" class="button plain">
|
<button type="button" class="button plain">
|
||||||
<Icon icon="menu" size="l" />
|
<Icon icon="menu" size="l" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue