Skip to content

Commit a961832

Browse files
committed
book a demo title
1 parent a6faf37 commit a961832

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

reflex_ui/blocks/demo_form.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def text_area_field(
126126
placeholder=placeholder,
127127
name=name,
128128
required=required,
129-
class_name="w-full",
129+
class_name="w-full min-h-14",
130130
max_length=800,
131131
),
132132
class_name="flex flex-col gap-1.5",
@@ -525,13 +525,20 @@ def demo_form_dialog(trigger: rx.Component, **props) -> rx.Component:
525525
ui.dialog.backdrop(),
526526
ui.dialog.popup(
527527
rx.el.div(
528-
ui.dialog.close(
529-
render_=ui.button(
530-
ui.hi("Cancel01Icon"),
531-
variant="ghost",
532-
size="icon-sm",
533-
class_name="text-secondary-11 absolute top-2 right-2 z-10",
528+
rx.el.div(
529+
rx.el.h1(
530+
"Book a Demo",
531+
class_name="text-xl font-bold text-secondary-12",
532+
),
533+
ui.dialog.close(
534+
render_=ui.button(
535+
ui.hi("Cancel01Icon"),
536+
variant="ghost",
537+
size="icon-sm",
538+
class_name="text-secondary-11",
539+
),
534540
),
541+
class_name="flex flex-row justify-between items-center gap-1 px-6 pt-4 -mb-4",
535542
),
536543
demo_form(class_name="w-full max-w-md"),
537544
class_name="relative isolate overflow-hidden -m-px w-full max-w-md",

0 commit comments

Comments
 (0)