From a09383de6819b8a83f440f42607a9729b3f44880 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Wed, 25 Mar 2026 10:19:06 +0100 Subject: [PATCH 1/5] app: Drop hacks that preserved docs scroll. The iframe automatically scrolled to 0 when CSS `display: none` is set, so we had several workarounds. Hide it instead. --- src/app/App.tsx | 64 +----------------------------------------------- src/app/app.scss | 13 +++++++--- 2 files changed, 11 insertions(+), 66 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index ccf420f51..f99ee741a 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2020-2023 The Pybricks Authors +// Copyright (c) 2020-2026 The Pybricks Authors import 'react-splitter-layout/lib/index.css'; import './app.scss'; @@ -52,17 +52,7 @@ const Docs: React.FunctionComponent = () => { return (