From 5cc3e4475842fee349e6319bfe42d11fe0c9298a Mon Sep 17 00:00:00 2001 From: Carlos Date: Tue, 9 Jun 2026 11:17:33 +0200 Subject: [PATCH] ENG-9738: Fix Mobile docs sidebar scroll --- docs/app/assets/tailwind-theme.css | 8 ++++++++ .../components/docpage/navbar/buttons/sidebar.py | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/app/assets/tailwind-theme.css b/docs/app/assets/tailwind-theme.css index 728a3b6b1e0..b2133eef715 100644 --- a/docs/app/assets/tailwind-theme.css +++ b/docs/app/assets/tailwind-theme.css @@ -2204,4 +2204,12 @@ body { @apply isolate bg-secondary-1 font-sans antialiased; } +} + +#ph-conversations-widget-container button[aria-label^="Open chat"] { + display: none !important; +} + +#ph-conversations-widget-container button[aria-label^="Open chat"]+div { + display: none !important; } \ No newline at end of file diff --git a/docs/app/reflex_docs/components/docpage/navbar/buttons/sidebar.py b/docs/app/reflex_docs/components/docpage/navbar/buttons/sidebar.py index d7d77a4c6e6..77e46752322 100644 --- a/docs/app/reflex_docs/components/docpage/navbar/buttons/sidebar.py +++ b/docs/app/reflex_docs/components/docpage/navbar/buttons/sidebar.py @@ -115,9 +115,9 @@ def docs_sidebar_drawer(sidebar: rx.Component, trigger) -> rx.Component: as_child=True, ), sidebar, - class_name="relative flex flex-col w-full", + class_name="relative flex flex-col w-full flex-1 min-h-0", ), - class_name="!top-[4rem] flex-col !bg-secondary-1 rounded-[24px_24px_0px_0px] w-full h-full !outline-none", + class_name="!top-[4rem] flex-col !bg-secondary-1 rounded-[24px_24px_0px_0px] w-full h-[calc(100dvh-4rem)] min-h-0 !outline-none", ), ), )