mirror of
https://github.com/stashapp/stash.git
synced 2025-12-21 15:53:49 +01:00
Fix navbar styling on smaller viewports (#4324)
This commit is contained in:
parent
599deb71b6
commit
1659c8f185
1 changed files with 6 additions and 4 deletions
|
|
@ -169,7 +169,7 @@ const MainNavbarMenuItems = PatchComponent(
|
|||
const MainNavbarUtilityItems = PatchComponent(
|
||||
"MainNavBar.UtilityItems",
|
||||
(props: React.PropsWithChildren<{}>) => {
|
||||
return <Nav>{props.children}</Nav>;
|
||||
return <>{props.children}</>;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
@ -370,9 +370,11 @@ export const MainNavbar: React.FC = () => {
|
|||
</Nav.Link>
|
||||
))}
|
||||
</MainNavbarMenuItems>
|
||||
<MainNavbarUtilityItems>
|
||||
{renderUtilityButtons()}
|
||||
</MainNavbarUtilityItems>
|
||||
<Nav>
|
||||
<MainNavbarUtilityItems>
|
||||
{renderUtilityButtons()}
|
||||
</MainNavbarUtilityItems>
|
||||
</Nav>
|
||||
</>
|
||||
</Fade>
|
||||
</Navbar.Collapse>
|
||||
|
|
|
|||
Loading…
Reference in a new issue