rx.list
Dont set/hardcode list_style_position
css prop (#3695)
This commit is contained in:
parent
8b45d289bd
commit
decdc857be
@ -70,7 +70,6 @@ class BaseList(Component):
|
||||
children = [Foreach.create(items, ListItem.create)]
|
||||
else:
|
||||
children = [ListItem.create(item) for item in items] # type: ignore
|
||||
props["list_style_position"] = "outside"
|
||||
props["direction"] = "column"
|
||||
style = props.setdefault("style", {})
|
||||
style["list_style_type"] = list_style_type
|
||||
@ -86,7 +85,6 @@ class BaseList(Component):
|
||||
"""
|
||||
return {
|
||||
"direction": "column",
|
||||
"list_style_position": "inside",
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user