feat(components): update layout for responsiveness

This commit enhances the layout in header.tsx for better mobile responsiveness. It adjusts flex properties and classes for optimal rendering across various device sizes. It also rearranges elements within the header component for a better mobile appearance.
This commit is contained in:
Mathis H (Avnyr) 2024-06-14 12:48:03 +02:00
parent 48adc8be6c
commit 72bbe08de0
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -23,9 +23,15 @@ export function Header({
{title || "YeloBit"}
</h1>
</div>
<div className={"w-1/3 flex flex-row justify-center items-center"}>{children}</div>
<div
className={"w-1/3 flex flex-row justify-center md:justify-end gap-2 items-center"}
className={"w-1/3 flex flex-col md:flex-row w-full justify-center items-center"}
>
{children}
</div>
<div
className={
"w-1/3 flex flex-row justify-center md:justify-end w-full md:w-fit gap-2 items-center"
}
>
<AccountDialog />
<ThemeBtnSelector />