@@ -56,18 +56,18 @@ export const Header = () => {
5656
5757 return (
5858 < >
59- < header className = "sticky top-0 z-[1] mx-[1%] mt-[10px] mb-0 flex flex-row flex-wrap content-center items-center gap-[10px] md:h-auto " >
60- < span className = "flex items-center pt-[4px] md:w-auto md:grow-0 " >
61- < i className = "me-[8px] " >
59+ < header className = "sticky z-[1] mx-[1%] mt-3 mb-0 flex flex-row flex-wrap content-center items-center gap-2.5 " >
60+ < span className = "order-1 flex items-center text-ht-900 " >
61+ < i className = "relative me-2 " >
6262 < CgTab size = { 24 } />
6363 </ i > { ' ' }
6464 < Link to = "/" >
65- < HackertabLogo aria-label = "hackertab.dev" className = "h-[16px] w-auto fill-ht-900" />
65+ < HackertabLogo aria-label = "hackertab.dev" className = "h-4 w-auto fill-ht-900" />
6666 </ Link >
6767 < Changelog />
6868 </ span >
6969 < SearchBar />
70- < div className = "inline-flex flex-row items -center gap-[8px] " >
70+ < div className = "order-3 inline-flex flex-row content -center gap-2 gap-y-2 " >
7171 { isDNDModeActive ( ) && (
7272 < Button onClick = { onUnpauseClicked } className = "font-bold" >
7373 < MdDoDisturbOff />
@@ -97,18 +97,17 @@ export const Header = () => {
9797 { isConnected ? (
9898 < >
9999 < img
100- className = "size-[40px] rounded-full outline-2 outline-amber-600"
100+ className = "size-full rounded-full outline-2 outline-amber-600"
101101 src = { user ?. imageURL }
102102 />
103- < div className = "absolute mr-0 -mb-12 ml-0 inline-block" >
104- < div className = "flex items-center justify-end rounded-[12px] border-2 border-ht-100 bg-amber-600 text-[11px] font-bold text-white" >
105- < StreakIcon className = "-mt-[2px] ml-0 w-[2.2em]" /> { ' ' }
106- < span className = "me-2 justify-self-end" > { user ?. streak || 1 } </ span >
107- </ div >
103+ < div className = "absolute right-0 -bottom-2 left-0 inline-block" >
104+ < span className = "inline-flex items-center justify-center rounded-xl bg-amber-500 py-px ps-6 pe-1.5 text-xs outline-2 outline-ht-100" >
105+ < StreakIcon className = "absolute -top-0.5 left-0 w-6" /> { user ?. streak || 1 }
106+ </ span >
108107 </ div >
109108 </ >
110109 ) : (
111- < AvatarPlaceholder className = "mt-[10px] size-[34px] rounded-[20px] " />
110+ < AvatarPlaceholder className = "mt-10 size-34 rounded-xl " />
112111 ) }
113112 </ CircleButton >
114113 </ div >
0 commit comments