Desktop: inline the fixed-bottom buttons on account pages

profile/location + profile/wallet "add" buttons were fixed to the viewport
bottom; make them static/inline at lg so they sit at the end of the content.
This commit is contained in:
Arda Samadi 2026-06-16 12:58:51 +03:30
parent 3156fb4204
commit 4a7bf51572
2 changed files with 5 additions and 2 deletions

View File

@ -50,7 +50,10 @@ export default function Locaton() {
<div className="flex flex-col gap-4 w-full items-center">
<ProfilePagesHeader title="آدرس‌های من" />
<MainContent />
<Link to={"/profile/location/add"} className="fixed bottom-16 z-10">
<Link
to={"/profile/location/add"}
className="fixed bottom-16 z-10 lg:static lg:bottom-auto lg:z-auto lg:mt-4"
>
<Button size={"xl"} variant="dark">
<Plus className="text-WHITE size-6" />
افزودن آدرس جدید

View File

@ -53,7 +53,7 @@ export default function Locaton() {
<ProfilePagesHeader title="کیف پول" />
<MainContent />
<Button
className="fixed bottom-16 z-10"
className="fixed bottom-16 z-10 lg:static lg:bottom-auto lg:z-auto lg:mt-4"
size={"xl"}
variant="dark"
onClick={() => setIsOpen(true)}