Skip to content

Commit

Permalink
Define color/bg-color on #header instead of first node child
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrucs committed Jan 18, 2024
1 parent 0f18d89 commit 4e80fdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ export const Header: React.FC = () => {
)}
<header
className={cn(
'sticky z-header',
'sticky z-header bg-primary1 text-primary3',
headerState === 'DISPLAYED' ? 'top-0' : '-top-desktopHeader',
)}
role="banner"
id="header"
>
<BurgerMenu config={config.menu} displayState={headerState} menuItems={menuItems} />
<div className="h-11 desktop:h-desktopHeader bg-primary1 flex flex-row items-center sticky z-header px-3 shadow-sm text-primary3 shrink-0 transition-all duration-300 delay-100">
<div className="h-11 desktop:h-desktopHeader flex flex-row items-center sticky z-header px-3 shadow-sm shrink-0 transition-all duration-300 delay-100">
<Link href={routes.HOME} className="flex items-center">
<div className="shrink-0" id="header_logo">
<img
Expand Down

0 comments on commit 4e80fdb

Please sign in to comment.