@@ -45,7 +45,7 @@ For example, to edit this page you can modify `{your_app}/pages/index.py`.
See the [pages docs](https://reflex.dev/docs/components/pages/) for more information on pages.
In this template, instead of using `rx.add_page` or the `@rx.page` decorator,
-we use the `@template` decorator from `{your_app}/pages/template.py`.
+we use the `@template` decorator from `{your_app}/templates/template.py`.
To add a new page:
@@ -13,10 +13,7 @@ hover_accent_bg = {"_hover": {"bg": accent_color}}
content_width_vw = "90vw"
sidebar_width = "20em"
-template_page_style = {
- "padding_top": "5em",
- "padding_x": "2em",
-}
+template_page_style = {"padding_top": "5em", "padding_x": ["auto", "2em"]}
template_content_style = {
"width": "100%",