Skip to content

Commit cae0969

Browse files
committed
fix styling on larger desktops
1 parent 98ee5d5 commit cae0969

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/theme/Navbar/Content/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function useWindowWidth() {
5454
export default function NavbarContent() {
5555

5656
const width = useWindowWidth();
57-
const LAPTOP_BREAKPOINT = 1300;
57+
const LAPTOP_BREAKPOINT = 1330;
5858

5959
const secondaryItems = useNavbarSecondaryItems();
6060
let items = [];
@@ -119,7 +119,7 @@ export default function NavbarContent() {
119119
>
120120
<button className="click-button primary-btn">Get started</button>
121121
</a>
122-
{width < LAPTOP_BREAKPOINT && <div style={{background: 'red'}}>TOGGLE</div>}
122+
{width < LAPTOP_BREAKPOINT && <NavbarMobileSidebarToggle />}
123123
</div>
124124
</div>
125125
<div className={clsx("secondary-nav--items", styles.secondaryMenu)}>

src/theme/Navbar/Content/styles.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,5 +171,6 @@
171171
@media screen and (min-width: breakpoints.$large-desktop-breakpoint) {
172172
.dropdownCategoriesContainer {
173173
max-width: breakpoints.$laptop-breakpoint;
174+
justify-content: unset;
174175
}
175176
}

0 commit comments

Comments
 (0)