diff --git a/docs/tutorials/articles/sales_dashboard/step_02/step_02.md b/docs/tutorials/articles/sales_dashboard/step_02/step_02.md index 08e2981ee..fe448dda1 100644 --- a/docs/tutorials/articles/sales_dashboard/step_02/step_02.md +++ b/docs/tutorials/articles/sales_dashboard/step_02/step_02.md @@ -98,13 +98,11 @@ We can now add [date selectors](../../../../refmans/gui/viselements/generic/date ```python with tgb.part(class_name="card"): with tgb.layout(columns="1 2 1"): - # First Column with tgb.part(): tgb.text("Filter **From**", mode="md") tgb.date("{start_date}") tgb.text("To") tgb.date("{end_date}") - # Second Column with tgb.part(): tgb.text("Filter Product **Category**", mode="md") tgb.selector( @@ -119,12 +117,12 @@ We can now add [date selectors](../../../../refmans/gui/viselements/generic/date lov="{subcategories}", dropdown=True, ) - # Third Column - tgb.button( - "Apply", - class_name="plain apply_button", - on_action=apply_changes, - ) + with tgb.part(class_name="text-center"): + tgb.button( + "Apply", + class_name="plain apply_button", + on_action=apply_changes, + ) ``` === "Markdown" ```