Skip to content

Commit 363f0cd

Browse files
authored
Merge pull request #33 from Gentlecoder1/main
feat: updated the select-restaurant layout styling to use dynamic viewheight
2 parents 9ad1ce2 + 4534843 commit 363f0cd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/pages/SelectRestaurant.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ const SelectRestaurant = () => {
4747
};
4848

4949
return (
50-
<div className="w-full min-h-screen">
50+
<div className="w-full min-h-dvh">
5151
{/* <Header title="Food Menu" description="Set Restaurant" /> */}
52-
<div className="w-full px-6">
53-
<MotionContainer className="md:hidden pt-28">
52+
<div className="w-full p-6">
53+
<MotionContainer className="md:hidden">
5454
<SlideIn
5555
direction="down"
5656
className="w-full text-center max-w-[387px] mx-auto space-y-3.5"
@@ -119,7 +119,7 @@ const SelectRestaurant = () => {
119119
</MotionContainer>
120120
</div>
121121

122-
<div className="pt-20 md:py-30 lg:pt-50 lg:pb-20 max-w-[1440px] mx-auto hidden md:flex flex-col items-center py-6 px-6 sm:px-20 lg:px-6">
122+
<div className="md:py-15 max-w-[1440px] mx-auto hidden md:flex flex-col items-center p-6 sm:px-20 lg:px-6">
123123
<div className="space-y-4 text-center">
124124
<h1 className="font-medium text-[40px] text-(--neutral-800) heading-font dark:text-white">
125125
Restaurants based on your selected location.

0 commit comments

Comments
 (0)