:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(auth): make auth pages responsive on mobile devices (#66529)
Fernando Gomesf7edd424b336
diff --git a/frontend/src/lib/components/BridgePage/BridgePage.scss b/frontend/src/lib/components/BridgePage/BridgePage.scssindex b8b40087ca50..e22c24f392a4 100644--- a/frontend/src/lib/components/BridgePage/BridgePage.scss+++ b/frontend/src/lib/components/BridgePage/BridgePage.scss@@ -46,7 +46,7 @@.BridgePage__content {position: relative;width: 100%;- padding: 2rem;+ padding: 1.25rem;background-color: var(--color-bg-surface-primary);border-radius: var(--radius);box-shadow: var(--shadow-elevation-3000);@@ -55,6 +55,10 @@font-weight: bold;text-align: center;}++ @include screen($md) {+ padding: 2rem;+ }}.BridgePage__footer {diff --git a/frontend/src/scenes/authentication/shared/paperDesk/PaperDesk.scss b/frontend/src/scenes/authentication/shared/paperDesk/PaperDesk.scssindex fbd6084d2341..030613376f93 100644--- a/frontend/src/scenes/authentication/shared/paperDesk/PaperDesk.scss+++ b/frontend/src/scenes/authentication/shared/paperDesk/PaperDesk.scss@@ -30,7 +30,11 @@svg {display: block;width: auto;- height: 40px;+ height: 28px;++ @media (min-width: 576px) {+ height: 40px;+ }}}diff --git a/frontend/src/scenes/authentication/shared/paperDesk/PaperDeskScene.tsx b/frontend/src/scenes/authentication/shared/paperDesk/PaperDeskScene.tsxindex 8df40991a077..c4c6c5957286 100644--- a/frontend/src/scenes/authentication/shared/paperDesk/PaperDeskScene.tsx+++ b/frontend/src/scenes/authentication/shared/paperDesk/PaperDeskScene.tsx@@ -11,8 +11,10 @@ import { Typewriter } from './Typewriter'export function PaperDeskScene({ notes, children }: { notes: string[]; children: ReactNode }): JSX.Element {return (<div className="PaperDesk relative h-screen overflow-x-hidden overflow-y-auto font-sans text-primary bg-[#eef0e7]">- <Typewriter lines={notes} />- <div className="relative z-[3] flex flex-col items-center justify-center min-h-full py-18 px-10">+ <div className="hidden sm:block">+ <Typewriter lines={notes} />+ </div>+ <div className="relative z-[3] flex flex-col items-center justify-center min-h-full py-18 px-4 sm:px-10"><div className="PaperDesk__column flex flex-col items-center w-[27rem] max-w-full">{children}</div></div><DevLoginPanel />@@ -39,7 +41,7 @@ export function PaperDeskCard({) : (top)}- <div className="w-full pt-8 px-9 pb-8 bg-white border border-[#e0e1d9] rounded-lg shadow-[0_20px_44px_-26px_rgb(40_38_30/35%),0_3px_0_#e0e1d9]">+ <div className="w-full pt-8 px-5 sm:px-9 pb-8 bg-white border border-[#e0e1d9] rounded-lg shadow-[0_20px_44px_-26px_rgb(40_38_30/35%),0_3px_0_#e0e1d9]">{children}</div>{footer}