Header Fixed

main
Pedram Keshavarzi 3 years ago
parent a17f3e1173
commit 0b4bf84052
  1. 2
      src/components/header/Header.js

@ -15,7 +15,7 @@ const Header=()=>{
console.log("weekday:"); console.log("weekday:");
console.log(weekday); console.log(weekday);
return ( return (
<div className="header w-full h-[8.5%] z-10 bg-white absolute top-0 left-0 flex items-center shadow-md "> <div className="header w-full h-[8.5%] z-10 bg-white fixed top-0 left-0 flex items-center shadow-md ">
<div className="header-profile h-full flex items-center"> <div className="header-profile h-full flex items-center">
<div className="header-profile-img-container w-10 h-10 bg-color2 rounded-full ml-6 overflow-hidden"> <div className="header-profile-img-container w-10 h-10 bg-color2 rounded-full ml-6 overflow-hidden">
<img src={avatar1} alt="avatar1" className='w-full' /> <img src={avatar1} alt="avatar1" className='w-full' />

Loading…
Cancel
Save