Change input fields to rounded-sm (#1159)
This commit is contained in:
parent
8664d217c9
commit
7c6dd7a73b
1 changed files with 8 additions and 8 deletions
|
@ -201,7 +201,7 @@ const BookingPage = (props: BookingPageProps) => {
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
</Head>
|
</Head>
|
||||||
|
|
||||||
<main className="max-w-3xl mx-auto my-0 sm:my-24 rounded-sm sm:border sm:dark:border-gray-600">
|
<main className="max-w-3xl mx-auto my-0 rounded-sm sm:my-24 sm:border sm:dark:border-gray-600">
|
||||||
{isReady && (
|
{isReady && (
|
||||||
<div className="overflow-hidden bg-white border border-gray-200 dark:bg-neutral-900 dark:border-0 sm:rounded-sm">
|
<div className="overflow-hidden bg-white border border-gray-200 dark:bg-neutral-900 dark:border-0 sm:rounded-sm">
|
||||||
<div className="px-4 py-5 sm:flex sm:p-4">
|
<div className="px-4 py-5 sm:flex sm:p-4">
|
||||||
|
@ -217,7 +217,7 @@ const BookingPage = (props: BookingPageProps) => {
|
||||||
}))
|
}))
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<h2 className="font-medium mt-2 text-gray-500 font-cal dark:text-gray-300">
|
<h2 className="mt-2 font-medium text-gray-500 font-cal dark:text-gray-300">
|
||||||
{props.profile.name}
|
{props.profile.name}
|
||||||
</h2>
|
</h2>
|
||||||
<h1 className="mb-4 text-3xl font-semibold text-gray-800 dark:text-white">
|
<h1 className="mb-4 text-3xl font-semibold text-gray-800 dark:text-white">
|
||||||
|
@ -263,7 +263,7 @@ const BookingPage = (props: BookingPageProps) => {
|
||||||
name="name"
|
name="name"
|
||||||
id="name"
|
id="name"
|
||||||
required
|
required
|
||||||
className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
||||||
placeholder="John Doe"
|
placeholder="John Doe"
|
||||||
defaultValue={props.booking ? props.booking.attendees[0].name : ""}
|
defaultValue={props.booking ? props.booking.attendees[0].name : ""}
|
||||||
/>
|
/>
|
||||||
|
@ -282,7 +282,7 @@ const BookingPage = (props: BookingPageProps) => {
|
||||||
id="email"
|
id="email"
|
||||||
inputMode="email"
|
inputMode="email"
|
||||||
required
|
required
|
||||||
className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
||||||
placeholder="you@example.com"
|
placeholder="you@example.com"
|
||||||
defaultValue={props.booking ? props.booking.attendees[0].email : ""}
|
defaultValue={props.booking ? props.booking.attendees[0].email : ""}
|
||||||
/>
|
/>
|
||||||
|
@ -341,7 +341,7 @@ const BookingPage = (props: BookingPageProps) => {
|
||||||
id={"custom_" + input.id}
|
id={"custom_" + input.id}
|
||||||
required={input.required}
|
required={input.required}
|
||||||
rows={3}
|
rows={3}
|
||||||
className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
||||||
placeholder={input.placeholder}
|
placeholder={input.placeholder}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
@ -351,7 +351,7 @@ const BookingPage = (props: BookingPageProps) => {
|
||||||
name={"custom_" + input.id}
|
name={"custom_" + input.id}
|
||||||
id={"custom_" + input.id}
|
id={"custom_" + input.id}
|
||||||
required={input.required}
|
required={input.required}
|
||||||
className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
||||||
placeholder={input.placeholder}
|
placeholder={input.placeholder}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
@ -361,7 +361,7 @@ const BookingPage = (props: BookingPageProps) => {
|
||||||
name={"custom_" + input.id}
|
name={"custom_" + input.id}
|
||||||
id={"custom_" + input.id}
|
id={"custom_" + input.id}
|
||||||
required={input.required}
|
required={input.required}
|
||||||
className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
||||||
placeholder=""
|
placeholder=""
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
@ -437,7 +437,7 @@ const BookingPage = (props: BookingPageProps) => {
|
||||||
name="notes"
|
name="notes"
|
||||||
id="notes"
|
id="notes"
|
||||||
rows={3}
|
rows={3}
|
||||||
className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
|
||||||
placeholder={t("share_additional_notes")}
|
placeholder={t("share_additional_notes")}
|
||||||
defaultValue={props.booking ? props.booking.description : ""}
|
defaultValue={props.booking ? props.booking.description : ""}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue