Skip to content

Commit 51d63bc

Browse files
committed
Fix: Menu SubMenu Heirarchy in Small Screen
Signed-off-by: Varad Gupta <[email protected]>
1 parent 0d03ced commit 51d63bc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/sections/General/Navigation/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ const Navigation = () => {
326326
changeDropdownState();
327327
closeDropDown();
328328
}}
329-
className="mobile-sub-menu-item"
329+
className={subItems.sepLine ? "mobile-sub-menu-item" : "mobile-nested-menu"}
330330
activeClassName="nav-link-active"
331331
>
332332
{subItems.name}

src/sections/General/Navigation/navigation.style.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,10 @@ const NavigationWrap = styled.header`
648648
.mobile-sub-menu-item {
649649
font-size: 1.1rem;
650650
}
651+
.mobile-nested-menu {
652+
font-size: 1.1rem;
653+
margin-left: 1rem;
654+
}
651655
}
652656
653657
.nav-link-active {

0 commit comments

Comments
 (0)