Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: radix section default size #3406

Merged
merged 2 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reflex/components/radix/themes/layout/section.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class Section(el.Section, RadixThemesComponent):

tag = "Section"

# The size of the section: "1" - "3" (default "3")
size: Var[LiteralSectionSize]
# The size of the section: "1" - "3" (default "2")
size: Var[LiteralSectionSize] = Var.create_safe("2")
2 changes: 1 addition & 1 deletion reflex/components/radix/themes/layout/section.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Section(el.Section, RadixThemesComponent):

Args:
*children: Child components.
size: The size of the section: "1" - "3" (default "3")
size: The size of the section: "1" - "3" (default "2")
access_key: Provides a hint for generating a keyboard shortcut for the current element.
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
content_editable: Indicates whether the element's content is editable.
Expand Down
Loading