We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e2d046 commit 5b11186Copy full SHA for 5b11186
shiny/ui/_layout_columns.py
@@ -237,6 +237,8 @@ def col_widths_attrs(col_widths: BreakpointsOptional[int] | None) -> TagAttrs:
237
return ret
238
239
for break_name, value in col_widths.items():
240
+ if isinstance(break_name, Enum):
241
+ break_name = break_name.value
242
break_name = f"col-widths-{break_name}"
243
if value is None:
244
ret[break_name] = ""
0 commit comments