diff --git a/pcweb/components/numbers_pattern.py b/pcweb/components/numbers_pattern.py index 5cf035a16..0f932ac7c 100644 --- a/pcweb/components/numbers_pattern.py +++ b/pcweb/components/numbers_pattern.py @@ -41,7 +41,7 @@ def numbers_pattern( position_class = "left-0" if side == "left" else "right-0" light_dark_path = rx.color_mode_cond("light", "dark") - src = f"landing/patterns/{light_dark_path}/numbers-pattern.webp" + src = f"/landing/patterns/{light_dark_path}/numbers-pattern.webp" # Determine if we need to flip: right side XOR reverse # - right side normally flips diff --git a/pcweb/pages/landing/landing.py b/pcweb/pages/landing/landing.py index c9accd549..3d727f25e 100644 --- a/pcweb/pages/landing/landing.py +++ b/pcweb/pages/landing/landing.py @@ -39,5 +39,5 @@ def landing() -> rx.Component: os_stats(), deploy_section(), final_cta(), - class_name="flex flex-col size-full justify-center items-center", + class_name="flex flex-col size-full justify-center items-center max-w-[calc(100vw-2rem)] mx-auto", )