mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 20:06:22 -05:00
Displaying Menu dropdown on left so it shows up on mobile.
This commit is contained in:
parent
942a35e5d8
commit
54709c268c
1 changed files with 3 additions and 3 deletions
|
|
@ -19,10 +19,10 @@ const rightLinks = [admin,];
|
|||
|
||||
const collapsedLinks = links.concat([admin,]);
|
||||
|
||||
function DropdownLinks(props) {
|
||||
return <Dropdown item text={props.link.text}>
|
||||
function DropdownLinks({link}) {
|
||||
return <Dropdown item text={link.text} direction='left'>
|
||||
<Dropdown.Menu>
|
||||
{props.link.links.map(l => <MenuLink key={l.to} link={l}/>)}
|
||||
{link.links.map(l => <MenuLink key={l.to} link={l}/>)}
|
||||
</Dropdown.Menu>
|
||||
</Dropdown>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue