Skip to content

Commit 5e444a7

Browse files
authored
Update readme path for templates (#2060)
1 parent 8ad9f3a commit 5e444a7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

reflex/.templates/apps/base/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ For example, to edit this page you can modify `{your_app}/pages/index.py`.
4545
See the [pages docs](https://reflex.dev/docs/components/pages/) for more information on pages.
4646

4747
In this template, instead of using `rx.add_page` or the `@rx.page` decorator,
48-
we use the `@template` decorator from `{your_app}/pages/template.py`.
48+
we use the `@template` decorator from `{your_app}/templates/template.py`.
4949

5050
To add a new page:
5151

reflex/.templates/apps/base/code/styles.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
content_width_vw = "90vw"
1414
sidebar_width = "20em"
1515

16-
template_page_style = {
17-
"padding_top": "5em",
18-
"padding_x": "2em",
19-
}
16+
template_page_style = {"padding_top": "5em", "padding_x": ["auto", "2em"]}
2017

2118
template_content_style = {
2219
"width": "100%",

0 commit comments

Comments
 (0)