From 3b8f3a09aa9cd8283eba035732a9169e8dbe48f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Tue, 29 Oct 2024 23:58:53 +0100 Subject: [PATCH] Remove CSS workaround for scroll-anchoring (#1976) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docsy does not set the `height` anymore, but the `min-height`, which doesn't seem to affect scroll-anchoring. See https://github.com/google/docsy/commit/f22a70ec566ecdcfb267e1792115e96f7ed16ade Signed-off-by: Kévin Commaille --- assets/scss/_styles_project.scss | 6 ------ changelogs/internal/newsfragments/1976.clarification | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) create mode 100644 changelogs/internal/newsfragments/1976.clarification diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index e974a838..5081d8e8 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -26,12 +26,6 @@ Custom SCSS for the Matrix spec */ @import "syntax.scss"; -/* Workaround for https://github.com/google/docsy/issues/1116: - * fix scroll-anchoring */ -.td-outer { - height: auto; -} - /* Overrides for the navbar */ .td-navbar { box-shadow: 0px 0px 8px rgba(179, 179, 179, 0.25); diff --git a/changelogs/internal/newsfragments/1976.clarification b/changelogs/internal/newsfragments/1976.clarification new file mode 100644 index 00000000..259cbffe --- /dev/null +++ b/changelogs/internal/newsfragments/1976.clarification @@ -0,0 +1 @@ +Remove CSS workaround for scroll-anchoring.