Skip to content

Commit

Permalink
Fix navbar styling on smaller viewports (#4324)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored Nov 29, 2023
1 parent 599deb7 commit 1659c8f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ui/v2.5/src/components/MainNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const MainNavbarMenuItems = PatchComponent(
const MainNavbarUtilityItems = PatchComponent(
"MainNavBar.UtilityItems",
(props: React.PropsWithChildren<{}>) => {
return <Nav>{props.children}</Nav>;
return <>{props.children}</>;
}
);

Expand Down Expand Up @@ -370,9 +370,11 @@ export const MainNavbar: React.FC = () => {
</Nav.Link>
))}
</MainNavbarMenuItems>
<MainNavbarUtilityItems>
{renderUtilityButtons()}
</MainNavbarUtilityItems>
<Nav>
<MainNavbarUtilityItems>
{renderUtilityButtons()}
</MainNavbarUtilityItems>
</Nav>
</>
</Fade>
</Navbar.Collapse>
Expand Down

0 comments on commit 1659c8f

Please sign in to comment.