We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ddcf5 commit eabfd2fCopy full SHA for eabfd2f
apps/polyflix/src/modules/core/components/Dashboard/Navbar/Navbar.component.tsx
@@ -54,11 +54,8 @@ export const DashboardNavbar: React.FC<PropsWithChildren<{}>> = () => {
54
return
55
}
56
if (window.scrollY > 0) {
57
- toolBarRef.current.style.backgroundColor =
58
- theme.palette.background.default
59
toolBarContainerRef.current.style.border = 'none'
60
} else {
61
- toolBarRef.current.style.backgroundColor = 'transparent'
62
toolBarContainerRef.current.style.borderBottom = `1px solid ${theme.palette.grey[400]}`
63
64
0 commit comments