Skip to content

Scheduling infrastructure for absolutely everyone.

fix: clickable checkbox/label and minor styling (#442)

Mihai Ceaaa36c4a40e
diff --git a/pages/[user]/book.tsx b/pages/[user]/book.tsx
index feb622870f1..abdad3b0a5e 100644
--- a/pages/[user]/book.tsx
+++ b/pages/[user]/book.tsx
@@ -234,7 +234,7 @@ export default function Book(props: any): JSX.Element {
type="radio"
required
onChange={(e) => setSelectedLocation(e.target.value)}
- className="location"
+ className="location focus:ring-black h-4 w-4 text-black border-gray-300 mr-2"
name="location"
value={location.type}
checked={selectedLocation === location.type}
@@ -274,7 +274,7 @@ export default function Book(props: any): JSX.Element {
<div className="mb-4" key={"input-" + input.label.toLowerCase}>
{input.type !== EventTypeCustomInputType.BOOL && (
<label
- htmlFor={input.label}
+ htmlFor={"custom_" + input.id}
className="block text-sm font-medium text-gray-700 dark:text-white mb-1">
{input.label}
</label>
@@ -319,8 +319,8 @@ export default function Book(props: any): JSX.Element {
placeholder=""
/>
<label
- htmlFor={input.label}
- className="block text-sm font-medium text-gray-700">
+ htmlFor={"custom_" + input.id}
+ className="block text-sm font-medium text-gray-700 dark:text-white mb-1">
{input.label}
</label>
</div>