Skip to content

Commit e1ada6e

Browse files
authored
chore: fix overlap (#1205)
* z-index * cleaner
1 parent c3a1bf4 commit e1ada6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/web/app/(org)/onboarding/components/Base.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const Base = ({
2121
}) => {
2222
const router = useRouter();
2323
return (
24-
<div className="relative w-[calc(100%-2%)] space-y-7 p-7 max-w-[472px] bg-gray-2 border border-gray-4 rounded-2xl">
24+
<div className="relative w-[calc(100%-2%)] z-10 space-y-7 p-7 max-w-[472px] bg-gray-2 border border-gray-4 rounded-2xl">
2525
{!hideBackButton && (
2626
<div
2727
onClick={() => router.back()}

apps/web/app/(org)/onboarding/components/Bottom.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const Bottom = () => {
3131
});
3232

3333
return (
34-
<div className="flex right-0 bottom-0 left-0 justify-between items-center p-0 mt-5 w-full lg:absolute lg:mt-0 lg:p-16">
34+
<div className="flex right-0 bottom-0 left-0 justify-between items-center p-0 lg:mb-10 my-5 mx-auto w-full lg:w-[calc(100%-80px)] lg:absolute lg:mt-0">
3535
<Button
3636
className="w-fit"
3737
variant="outline"

0 commit comments

Comments
 (0)