You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started/dashboard_tutorial.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,8 +221,8 @@ def show_user(user: User):
221
221
rx.table.cell(user.name),
222
222
rx.table.cell(user.email),
223
223
rx.table.cell(user.gender),
224
-
style=\{"_hover":
225
-
\{"bg": rx.color("gray", 3)}
224
+
style={"_hover":
225
+
{"bg": rx.color("gray", 3)}
226
226
},
227
227
align="center",
228
228
)
@@ -1620,7 +1620,7 @@ Unfortunately in this tutorial here we cannot actually apply this to the live ex
1620
1620
1621
1621
## Conclusion
1622
1622
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"`.
1624
1624
1625
1625
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.
0 commit comments