Skip to content

Commit a8e01c2

Browse files
committed
fixes issue #1162
1 parent fe2a619 commit a8e01c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/getting_started/dashboard_tutorial.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ def show_user(user: User):
221221
rx.table.cell(user.name),
222222
rx.table.cell(user.email),
223223
rx.table.cell(user.gender),
224-
style=\{"_hover":
225-
\{"bg": rx.color("gray", 3)}
224+
style={"_hover":
225+
{"bg": rx.color("gray", 3)}
226226
},
227227
align="center",
228228
)
@@ -1620,7 +1620,7 @@ Unfortunately in this tutorial here we cannot actually apply this to the live ex
16201620

16211621
## Conclusion
16221622

1623-
Finally let's make some final styling updates to our app. We will add some hover styling to the table rows and center the table inside the `show_user` with `style=\{"_hover": \{"bg": rx.color("gray", 3)}}, align="center"`.
1623+
Finally let's make some final styling updates to our app. We will add some hover styling to the table rows and center the table inside the `show_user` with `style={"_hover": {"bg": rx.color("gray", 3)}}, align="center"`.
16241624

16251625
In addition, we will add some `width="100%"` and `align="center"` to the `index()` component to center the items on the page and ensure they stretch the full width of the page.
16261626

@@ -1701,8 +1701,8 @@ def show_user(user: User):
17011701
rx.table.cell(user.name),
17021702
rx.table.cell(user.email),
17031703
rx.table.cell(user.gender),
1704-
style=\{"_hover":
1705-
\{"bg": rx.color("gray", 3)}
1704+
style={"_hover":
1705+
{"bg": rx.color("gray", 3)}
17061706
},
17071707
align="center",
17081708
)

0 commit comments

Comments
 (0)