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:
parent
3156fb4204
commit
4a7bf51572
@ -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" />
|
||||
افزودن آدرس جدید
|
||||
|
||||
@ -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)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user