Skip to content

Commit ac2529f

Browse files
ENG-6659: Fix uncentered 404 page (#1497)
Co-authored-by: Ahmad Hakim <[email protected]>
1 parent 6950c75 commit ac2529f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pcweb/pages/page404.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111

1212
@webpage(path="/404", title="Page Not Found · Reflex.dev", add_as_page=False)
1313
def page404():
14-
return rx.center(
15-
rx.vstack(
16-
markdown_with_shiki(contents),
17-
rx.spacer(),
18-
),
19-
class_name="h-[80vh] w-full",
14+
return rx.box(
15+
markdown_with_shiki(contents),
16+
class_name="h-[80vh] w-full flex flex-col items-center justify-center",
2017
)

0 commit comments

Comments
 (0)