feat(InterviewBooking): started on phone layout

This commit is contained in:
darkicewolf50 2025-04-19 11:59:05 -06:00
parent da1b08951a
commit 8e0d2237c2
2 changed files with 35 additions and 6 deletions

View File

@ -113,6 +113,12 @@
margin: var(--TimeSlotSideMarginTopBottom); margin: var(--TimeSlotSideMarginTopBottom);
} }
#InterivewNoDateSelected {
display: flex;
height: 241.633px;
align-items: center;
}
#interviewLoading { #interviewLoading {
display: flex; display: flex;
align-items: center; align-items: center;
@ -164,3 +170,31 @@ p {
#InterviewDialog p { #InterviewDialog p {
margin: 0px; margin: 0px;
} }
/* phone layout */
@media only screen and (max-width: 800px) {
#InterviewForm {
flex-direction: column;
}
#InterviewForm div {
align-self: center;
}
#TimeSlotSelector {
flex-direction: column;
}
.TimeSlot {
align-self: center;
/* padding-bottom: 2svh; */
}
#InterivewNoDateSelected {
height: auto;
}
#MainForm form {
width: 90%;
}
}

View File

@ -120,12 +120,7 @@ export default function TimeDateSelector({
{!selectedDate ? ( {!selectedDate ? (
<> <>
<p>Available Time Slots:</p> <p>Available Time Slots:</p>
<div <div id="InterivewNoDateSelected">
style={{
height: "241.633px",
display: "flex",
alignItems: "center",
}}>
<p>Please select the a date to see time slots.</p> <p>Please select the a date to see time slots.</p>
</div> </div>
</> </>