Skip to content

Commit 5e95035

Browse files
authored
patch mobile navigation (#1503)
1 parent 5b27d67 commit 5e95035

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pcweb/templates/docpage/docpage.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,11 @@ def wrapper(*args, **kwargs) -> rx.Component:
635635
rx.box(
636636
rx.box(
637637
breadcrumb(path=path, nav_sidebar=nav_sidebar),
638-
class_name="px-0 xl:px-20 pt-0",
638+
class_name="px-0 xl:px-20 pt-0 " + rx.cond(
639+
HostingBannerState.show_banner,
640+
"mt-[90px]",
641+
"",
642+
),
639643
),
640644
rx.box(
641645
rx.el.article(comp),

0 commit comments

Comments
 (0)