mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 04:08:32 +03:00
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,
|
||||
}}
|
||||
{...props}
|
||||
overflow="auto"
|
||||
viewScroll="close"
|
||||
boundingBoxPadding="8 8 8 8"
|
||||
menuButton={
|
||||
<button type="button" class="button plain">
|
||||
<Icon icon="menu" size="l" />
|
||||
|
|
Loading…
Add table
Reference in a new issue