From 38e67ccc79f68fdf10faa3dd747c27419bffe318 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Tue, 25 Jun 2024 13:52:53 +0100 Subject: [PATCH] Use flex box properly and use description as intended (#15565) --- .../components/eventtype/AssignmentWarningDialog.tsx | 12 +++++++----- packages/ui/components/dialog/Dialog.tsx | 6 +++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/web/components/eventtype/AssignmentWarningDialog.tsx b/apps/web/components/eventtype/AssignmentWarningDialog.tsx index 292018d220..32243b8825 100644 --- a/apps/web/components/eventtype/AssignmentWarningDialog.tsx +++ b/apps/web/components/eventtype/AssignmentWarningDialog.tsx @@ -12,6 +12,7 @@ interface AssignmentWarningDialogProps { leaveWithoutAssigningHosts: MutableRefObject; id: number; } + const AssignmentWarningDialog = (props: AssignmentWarningDialogProps) => { const { t } = useLocale(); const { @@ -24,11 +25,12 @@ const AssignmentWarningDialog = (props: AssignmentWarningDialogProps) => { const router = useRouter(); return ( - -
-

{t("leave_without_adding_attendees")}

-

{t("no_availability_shown_to_bookers")}

-
+