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:
1 parent
770c35039d
commit
5cd2ce9246
14 files changed
+73
-66
No files matched your search
@@ -40,7 +40,7 @@ export default function RoutingForms({
|
||||
/>
|
||||
) : null}
|
||||
{forms.length ? (
|
||||
<div className="-mx-4 mb-16 overflow-hidden bg-white sm:mx-0">
|
||||
<div className="mb-16 overflow-hidden bg-white">
|
||||
<List data-testid="routing-forms-list">
|
||||
{forms.map((form, index) => {
|
||||
if (!form) {
|
||||
|
||||
@@ -7,8 +7,8 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import logger from "@calcom/lib/logger";
|
||||
import showToast from "@calcom/lib/notification";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
import Button from "@calcom/ui/Button";
|
||||
import { Dialog, DialogContent, DialogFooter, DialogHeader } from "@calcom/ui/Dialog";
|
||||
import Button from "@calcom/ui/v2/core/Button";
|
||||
|
||||
interface IConfirmDialogWipe {
|
||||
isOpenDialog: boolean;
|
||||
@@ -93,7 +93,7 @@ export const ConfirmDialog = (props: IConfirmDialogWipe) => {
|
||||
{initialDate.format(dateFormat)} - {endDate.format(dateFormat)}
|
||||
</strong>
|
||||
</p>
|
||||
<p className="mt-6 mb-2 text-sm font-bold text-black">Are you sure? This can't be undone</p>
|
||||
<p className="mt-6 mb-2 text-sm">Are you sure? This can't be undone</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -103,6 +103,7 @@ export const ConfirmDialog = (props: IConfirmDialogWipe) => {
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
color="primary"
|
||||
data-testid="send_request"
|
||||
disabled={isLoading}
|
||||
onClick={async () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { useState } from "react";
|
||||
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
import Button from "@calcom/ui/Button";
|
||||
import Button from "@calcom/ui/v2/core/Button";
|
||||
|
||||
import { ConfirmDialog } from "./confirmDialog";
|
||||
|
||||
@@ -30,7 +30,7 @@ const WipeMyCalActionButton = (props: IWipeMyCalActionButtonProps) => {
|
||||
{data && isSuccess && !isLoading && credentialId && (
|
||||
<div className="mb-4">
|
||||
<ConfirmDialog isOpenDialog={openDialog} setIsOpenDialog={setOpenDialog} />
|
||||
<Button onClick={() => setOpenDialog(true)} data-testid="wipe-today-button">
|
||||
<Button color="primary" onClick={() => setOpenDialog(true)} data-testid="wipe-today-button">
|
||||
Wipe Today
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user