fix: change ui of booking fields in booking page (#7776)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
co-authored by
Peer Richelsen
parent
20d2129f81
commit
04fb7e07b4
@@ -569,7 +569,8 @@ export default function Success(props: SuccessProps) {
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
</div>
|
||||
<div className="text-bookingdark dark:border-darkgray-200 mt-8 text-left dark:text-gray-300">
|
||||
{Object.entries(bookingInfo.responses).map(([name, response]) => {
|
||||
const field = eventType.bookingFields.find((field) => field.name === name);
|
||||
// We show location in the "where" section
|
||||
@@ -584,15 +585,10 @@ export default function Success(props: SuccessProps) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="mt-9 font-medium">{label}</div>
|
||||
<div className="col-span-2 mb-2 mt-9">
|
||||
<p
|
||||
className="break-words"
|
||||
data-testid="field-response"
|
||||
data-fob-field={field.name}>
|
||||
{response.toString()}
|
||||
</p>
|
||||
</div>
|
||||
<div className="mt-4 font-medium">{label}</div>
|
||||
<p className="break-words" data-testid="field-response" data-fob-field={field.name}>
|
||||
{response.toString()}
|
||||
</p>
|
||||
</>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user