Skip to content

Commit eabfd2f

Browse files
committed
style(navbar): fix background color
1 parent c9ddcf5 commit eabfd2f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

apps/polyflix/src/modules/core/components/Dashboard/Navbar/Navbar.component.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,8 @@ export const DashboardNavbar: React.FC<PropsWithChildren<{}>> = () => {
5454
return
5555
}
5656
if (window.scrollY > 0) {
57-
toolBarRef.current.style.backgroundColor =
58-
theme.palette.background.default
5957
toolBarContainerRef.current.style.border = 'none'
6058
} else {
61-
toolBarRef.current.style.backgroundColor = 'transparent'
6259
toolBarContainerRef.current.style.borderBottom = `1px solid ${theme.palette.grey[400]}`
6360
}
6461
}

0 commit comments

Comments
 (0)