Skip to content

Commit

Permalink
Add bottom spacer to Onboarding and SelectRestaurant
Browse files Browse the repository at this point in the history
  • Loading branch information
murermader committed Oct 29, 2023
1 parent fa5cf81 commit f4ef5aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions DineDevineUI/src/pages/OnboardingPage.tsx
Expand Up @@ -75,6 +75,7 @@ const OnboardingPage: React.FC<RouteComponentProps> = (props: RouteComponentProp
<IonInput onIonInput={(event) => updateName(event)} value={name} label="Name input" placeholder="Enter your name"></IonInput>
</IonItem>
<IonButton onClick={onSubmit} type="submit">Submit</IonButton>
<div className={"bottom-spacer"}/>
</div>
</div>
</IonContent>
Expand Down
1 change: 1 addition & 0 deletions DineDevineUI/src/pages/SelectRestaurantPage.tsx
Expand Up @@ -89,6 +89,7 @@ import {RouteComponentProps} from "react-router";
<div className={"select-restaurant-button-section"}>
<IonButton onClick={onSelectRestaurantClicked} href={"/waiting"} className={"select-restaurant-button"} size="default">Looks good!</IonButton>
</div>
<div className={"bottom-spacer"}/>
</div>
</div>
</IonContent>
Expand Down
5 changes: 5 additions & 0 deletions DineDevineUI/src/pages/pages.css
Expand Up @@ -115,4 +115,9 @@
.image:hover {
transition: all 150ms ease-in;
filter: brightness(90%);
}

.bottom-spacer {
height: 2rem;
}
}

0 comments on commit f4ef5aa

Please sign in to comment.