mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Fix navbar styling on smaller viewports (#4324)
This commit is contained in:
@@ -169,7 +169,7 @@ const MainNavbarMenuItems = PatchComponent(
|
|||||||
const MainNavbarUtilityItems = PatchComponent(
|
const MainNavbarUtilityItems = PatchComponent(
|
||||||
"MainNavBar.UtilityItems",
|
"MainNavBar.UtilityItems",
|
||||||
(props: React.PropsWithChildren<{}>) => {
|
(props: React.PropsWithChildren<{}>) => {
|
||||||
return <Nav>{props.children}</Nav>;
|
return <>{props.children}</>;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -370,9 +370,11 @@ export const MainNavbar: React.FC = () => {
|
|||||||
</Nav.Link>
|
</Nav.Link>
|
||||||
))}
|
))}
|
||||||
</MainNavbarMenuItems>
|
</MainNavbarMenuItems>
|
||||||
<MainNavbarUtilityItems>
|
<Nav>
|
||||||
{renderUtilityButtons()}
|
<MainNavbarUtilityItems>
|
||||||
</MainNavbarUtilityItems>
|
{renderUtilityButtons()}
|
||||||
|
</MainNavbarUtilityItems>
|
||||||
|
</Nav>
|
||||||
</>
|
</>
|
||||||
</Fade>
|
</Fade>
|
||||||
</Navbar.Collapse>
|
</Navbar.Collapse>
|
||||||
|
|||||||
Reference in New Issue
Block a user