From 331455b41c609c911db3c6511204f439a64a8b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 15 Oct 2024 10:43:00 +0200 Subject: [PATCH] Remove CSS workaround for scroll-anchoring 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 ------ 1 file changed, 6 deletions(-) diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 2c31820b..ebe03a57 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);