mirror of
https://github.com/Death916/deathsite.git
synced 2026-04-11 04:56:37 -07:00
fix footer
This commit is contained in:
parent
94c683e8b0
commit
b3713ec3b4
1 changed files with 20 additions and 7 deletions
|
|
@ -94,7 +94,7 @@ def footer() -> rx.Component:
|
|||
border_top="1px solid #dee2e6",
|
||||
width="100%",
|
||||
text_align="center", # Center the text
|
||||
position="sticky", # Stick to the bottom
|
||||
position="fixed", # Stick to the bottom
|
||||
bottom="0", # Stick to the bottom
|
||||
bg="", #
|
||||
)
|
||||
|
|
@ -191,13 +191,26 @@ def page_content(content):
|
|||
width="100%",
|
||||
align_items="center",
|
||||
),
|
||||
|
||||
content,
|
||||
align_items="center",
|
||||
justify="center",
|
||||
width="100%",
|
||||
rx.box(
|
||||
content,
|
||||
align_items="center",
|
||||
justify="center",
|
||||
width="100%",
|
||||
|
||||
padding="2em",
|
||||
),
|
||||
rx.box(
|
||||
footer(),
|
||||
padding="1em",
|
||||
width="100%",
|
||||
align_items="end",
|
||||
justify="end",
|
||||
),
|
||||
|
||||
|
||||
),
|
||||
width="100%",
|
||||
|
||||
|
||||
)
|
||||
|
||||
@rx.page(route="/projects")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue