Skip to content

Commit

Permalink
style(navbar): fix background color
Browse files Browse the repository at this point in the history
  • Loading branch information
leofvo committed Feb 15, 2023
1 parent a8b6922 commit c10a8bc
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,8 @@ export const DashboardNavbar: React.FC<PropsWithChildren<{}>> = () => {
return
}
if (window.scrollY > 0) {
toolBarRef.current.style.backgroundColor =
theme.palette.background.default
toolBarContainerRef.current.style.border = 'none'
} else {
toolBarRef.current.style.backgroundColor = 'transparent'
toolBarContainerRef.current.style.borderBottom = `1px solid ${theme.palette.grey[400]}`
}
}
Expand Down

0 comments on commit c10a8bc

Please sign in to comment.