Skip to content

Commit 661467d

Browse files
committed
fix responsive select demo grid
1 parent a61f4cb commit 661467d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reflex_ui/blocks/demo_form.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def get_component(cls, **props):
438438
"Other",
439439
],
440440
),
441-
class_name="grid grid-cols-2 gap-4",
441+
class_name="grid @max-md:grid-cols-1 grid-cols-2 gap-4",
442442
),
443443
rx.cond(
444444
demo_form_error_message.value,
@@ -450,7 +450,7 @@ def get_component(cls, **props):
450450
ui.button("Submit", type="submit", class_name="w-full"),
451451
on_submit=cls.on_submit,
452452
class_name=ui.cn(
453-
"flex flex-col gap-6 p-6",
453+
"@container flex flex-col gap-6 p-6",
454454
props.pop("class_name", ""),
455455
),
456456
**props,

0 commit comments

Comments
 (0)