a ton of mobile improvements to save space (#4336)

* made /booking more responsive friendly

* hiding headline and description on mobile, moving CTA to bottom right fixed on mobile

* more padding on full screen mode on iPhone

* nit fixes to wipemycal

* nit fixes to wipemycal

* lint fix

* Update apps/web/styles/globals.css

Massive nit, lol.

Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
Peer RichelsenandAlex van Andel authored and GitHub committed 2022-09-09 15:02:31 +00:00
1 parent 770c35039d
commit 5cd2ce9246
14 files changed
+73 -66

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ export default function MorePage() {
const { t } = useLocale();
return (
<Shell>
<div className="max-w-screen-lg">
<div className="mt-8 max-w-screen-lg">
<MobileNavigationMoreItems />
<div className="mt-6">
<UserV2OptInBanner />
+1 -1
View File
@@ -40,7 +40,7 @@ export function AvailabilityList({ schedules }: inferQueryOutput<"viewer.availab
/>
</div>
) : (
<div className="-mx-4 mb-16 overflow-hidden rounded-md border border-gray-200 bg-white sm:mx-0">
<div className="mb-16 overflow-hidden rounded-md border border-gray-200 bg-white">
<ul className="divide-y divide-neutral-200" data-testid="schedules">
{schedules.map((schedule) => (
<ScheduleListItem
+1 -1
View File
@@ -87,7 +87,7 @@ export default function Bookings() {
)}
{(query.status === "loading" || query.status === "idle") && <SkeletonLoader />}
{query.status === "success" && !isEmpty && (
<div className="pt-2 xl:mx-6 xl:pt-0">
<div className="pt-2 xl:pt-0">
<WipeMyCalActionButton bookingStatus={status} bookingsEmpty={isEmpty} />
{/* TODO: add today only for the current day
<p className="pb-3 text-xs font-medium uppercase leading-4 text-gray-500">{t("today")}</p>