base: expand template content to right edge of screen (#2104)
This commit is contained in:
parent
8eb68a006e
commit
5211706bd4
@ -13,10 +13,9 @@ hover_accent_bg = {"_hover": {"bg": accent_color}}
|
|||||||
content_width_vw = "90vw"
|
content_width_vw = "90vw"
|
||||||
sidebar_width = "20em"
|
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 = {
|
template_content_style = {
|
||||||
"width": "100%",
|
|
||||||
"align_items": "flex-start",
|
"align_items": "flex-start",
|
||||||
"box_shadow": box_shadow,
|
"box_shadow": box_shadow,
|
||||||
"border_radius": border_radius,
|
"border_radius": border_radius,
|
||||||
|
@ -116,7 +116,6 @@ def template(
|
|||||||
),
|
),
|
||||||
**styles.template_page_style,
|
**styles.template_page_style,
|
||||||
),
|
),
|
||||||
rx.spacer(),
|
|
||||||
menu_button(),
|
menu_button(),
|
||||||
align_items="flex-start",
|
align_items="flex-start",
|
||||||
transition="left 0.5s, width 0.5s",
|
transition="left 0.5s, width 0.5s",
|
||||||
|
Loading…
Reference in New Issue
Block a user