Skip to content

Commit 6a27ed1

Browse files
carlosabadiaAlek99
andauthored
fix numbers image path (#1675)
* fix numbers image path * fix mobile --------- Co-authored-by: Alek Petuskey <[email protected]>
1 parent 8e5ff1c commit 6a27ed1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pcweb/components/numbers_pattern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def numbers_pattern(
4141
position_class = "left-0" if side == "left" else "right-0"
4242
light_dark_path = rx.color_mode_cond("light", "dark")
4343

44-
src = f"landing/patterns/{light_dark_path}/numbers-pattern.webp"
44+
src = f"/landing/patterns/{light_dark_path}/numbers-pattern.webp"
4545

4646
# Determine if we need to flip: right side XOR reverse
4747
# - right side normally flips

pcweb/pages/landing/landing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ def landing() -> rx.Component:
3939
os_stats(),
4040
deploy_section(),
4141
final_cta(),
42-
class_name="flex flex-col size-full justify-center items-center",
42+
class_name="flex flex-col size-full justify-center items-center max-w-[calc(100vw-2rem)] mx-auto",
4343
)

0 commit comments

Comments
 (0)