From 541b470cfc85c342ba8b7548d58d668b49d8dd85 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Mon, 17 Jun 2024 21:33:53 -0700 Subject: [PATCH] fix: overflow fade for good (closes #1218) --- quartz/styles/base.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index a7c1b450e..b023b2794 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -481,11 +481,14 @@ video { flex: 1 1 auto; } +div:has(> .overflow) { + position: relative; +} + ul.overflow, ol.overflow { max-height: 400; overflow-y: auto; - position: relative; // clearfix content: "";