From 06bb1815bbcf6f5d0279ae1190cbf2ae9dde258b Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 9 Sep 2024 09:43:04 +0800 Subject: [PATCH] No content-visibility: auto for post page --- src/app.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app.css b/src/app.css index afd2d0fa..a3c9b6ca 100644 --- a/src/app.css +++ b/src/app.css @@ -366,11 +366,10 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) { padding: 0; border-bottom: var(--hairline-width) solid var(--divider-color); --line-dir: var(--to-forward); - - + li:not(.hero) { - content-visibility: auto; - contain-intrinsic-size: auto 160px; - } +} +.timeline:not(.contextual) > li + li { + content-visibility: auto; + contain-intrinsic-size: auto 160px; } .timeline.flat > li { border-bottom: none;