base: expand template content to right edge of screen (#2104)

This commit is contained in:
Masen Furer 2023-10-31 17:06:22 -07:00 committed by GitHub
parent 8eb68a006e
commit 5211706bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -13,10 +13,9 @@ hover_accent_bg = {"_hover": {"bg": accent_color}}
content_width_vw = "90vw"
sidebar_width = "20em"
template_page_style = {"padding_top": "5em", "padding_x": ["auto", "2em"]}
template_page_style = {"padding_top": "5em", "padding_x": ["auto", "2em"], "flex": "1"}
template_content_style = {
"width": "100%",
"align_items": "flex-start",
"box_shadow": box_shadow,
"border_radius": border_radius,

View File

@ -116,7 +116,6 @@ def template(
),
**styles.template_page_style,
),
rx.spacer(),
menu_button(),
align_items="flex-start",
transition="left 0.5s, width 0.5s",