chore: restyle topbar and side menu based on dmail

This commit is contained in:
Mahyar Khanbolooki
2025-08-02 23:11:19 +03:30
parent 9a39c84116
commit 97307090ab
5 changed files with 104 additions and 81 deletions
@@ -36,9 +36,9 @@ function ClientMenuRouteWrapper({ children }: Props) {
// }, [location])
return (
<div className="h-svh overflow-hidden pt-16 flex flex-col pb-8 ">
<div className="h-svh overflow-hidden pt-10 flex flex-col pb-4 xl:pt-12">
<div className="fixed top-0 left-0 right-0 z-50 px-4">
<div className="z-50 fixed right-4 left-4 xl:right-[285px] top-4 xl:h-16 h-12 flex items-center px-4 bg-white justify-between rounded-[32px] xl:w-[calc(100%-305px)]">
<TopBar
profileDropState={profileDrop}
toggleProfileDropState={toggleProfileDrop}
@@ -66,7 +66,7 @@ function ClientMenuRouteWrapper({ children }: Props) {
<main
className="noscrollbar overflow-y-auto h-svh pt-0 pb-12 mx-2 px-2"
className="noscrollbar overflow-y-auto h-svh pt-6 xl:pt-8 pb-12 px-4 xl:pr-0 xl:pl-5 w-full xl:w-[calc(100%-285px)] xl:self-end"
>
{children}
</main>