Skip to content

Commit 27c5bf9

Browse files
gitstartniteshsingh1357juliopiubellomatheusmuniz03MatheusBeniniF
authored
Design issues on success page in some languages (#3900)
Co-authored-by: gitstart <gitstart@users.noreply.github.com> Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev> Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev> Co-authored-by: Matheus Muniz <87545749+matheusmuniz03@users.noreply.github.com> Co-authored-by: Matheus Benini <matheus_benini@hotmail.com> Co-authored-by: Grace Nshokano <grace.devolop@gmail.com> Co-authored-by: Matheus Muniz <matheusmuniz100@hotmail.com> Co-authored-by: gitstart <gitstart@gitstart.com> Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
1 parent ef7dd51 commit 27c5bf9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/web/pages/success.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,8 @@ export default function Success(props: SuccessProps) {
409409
</span>
410410
<div
411411
className={classNames(
412-
"items-center self-center ltr:mr-2 rtl:ml-2 dark:text-gray-50 sm:justify-center",
413-
!props.recurringBookings ? "flex sm:ml-7" : ""
412+
"col-span-2 items-center dark:text-gray-50",
413+
!props.recurringBookings ? "flex" : ""
414414
)}>
415415
<button className="underline" onClick={() => setIsCancellationMode(true)}>
416416
{t("cancel")}
@@ -436,11 +436,11 @@ export default function Success(props: SuccessProps) {
436436
/>
437437
))}
438438
{userIsOwner && !needsConfirmation && !isCancellationMode && !isCancelled && (
439-
<div className="border-bookinglightest mt-9 flex flex-col border-b pt-2 pb-4 text-center dark:border-gray-900 sm:mt-0 sm:flex-row sm:pt-4">
440-
<span className="mb-4 flex self-center font-medium text-gray-700 ltr:mr-2 rtl:ml-2 dark:text-gray-50 sm:mb-0">
439+
<div className="border-bookinglightest text-bookingdark mt-2 grid-cols-3 border-b py-4 text-left dark:border-gray-900 sm:grid">
440+
<span className="flex self-center font-medium text-gray-700 ltr:mr-2 rtl:ml-2 dark:text-gray-50">
441441
{t("add_to_calendar")}
442442
</span>
443-
<div className="flex flex-grow justify-center text-center sm:-ml-16">
443+
<div className="justify-left mt-1 flex flex-grow text-left sm:mt-0">
444444
<Link
445445
href={
446446
`https://calendar.google.com/calendar/r/eventedit?dates=${date
@@ -457,7 +457,7 @@ export default function Success(props: SuccessProps) {
457457
encodeURIComponent(new RRule(props.eventType.recurringEvent).toString())
458458
: "")
459459
}>
460-
<a className="mx-2 h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 dark:border-neutral-700 dark:text-white">
460+
<a className="mr-2 h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 dark:border-neutral-700 dark:text-white">
461461
<svg
462462
className="-mt-1.5 inline-block h-4 w-4"
463463
fill="currentColor"

0 commit comments

Comments
 (0)