Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.

Commit

Permalink
fix(header): fixed header
Browse files Browse the repository at this point in the history
  • Loading branch information
rwietter committed Jun 16, 2023
1 parent e886d1f commit 889a530
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion domains/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Dashboard = ({ clinicalData }: ComponentProps) => {
className={`bg-background overflow-hidden w-screen min-h-screen text-foreground font-sans ${inter.className}`}
>
<Header />
<main className='px-2 md:px-12 m-auto'>
<main className='px-2 md:px-12 m-auto pt-16'>
<Banner />
<Cards countPatients={dataset?.countPatients} />

Expand Down
4 changes: 2 additions & 2 deletions domains/dashboard/features/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { useSelectDate } from '@/domains/dashboard/hooks/useSelectDate';
const Header = () => {
const { onChangeDate } = useSelectDate();
return (
<header className='bg-secondary text-foreground w-full h-12 flex items-center justify-between px-5 md:px-8 py-1'>
<section className='flex items-center gap-3'>
<header className='bg-secondary bg-opacity-80 fixed border-b border-slate-300 backdrop-blur-sm text-foreground z-50 w-full h-12 flex items-center justify-center sm:justify-between px-5 md:px-8 py-1'>
<section className='items-center gap-3 hidden sm:flex'>
<Image src="/virus.svg" alt="Logo" width={30} height={30} />
<h1 className='text-slate-800 font-sans font-semibold'>Covid Insights</h1>
</section>
Expand Down

0 comments on commit 889a530

Please sign in to comment.