Skip to content

Commit 60ace48

Browse files
committed
Fix sticky heading overlap (#4140)
Use animation longhands to prevent broken minified CSS. (cherry picked from commit 1bd6894)
1 parent 3621265 commit 60ace48

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎www/src/assets/css/site.css‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,9 @@ article.sticky-headers > section :is(h3, h4) {
318318
article.sticky-headers > section > h2 > :first-child {
319319
background: transparent;
320320
border-bottom-color: transparent;
321-
animation: stick-bg linear both;
321+
animation-name: stick-bg;
322+
animation-timing-function: linear;
323+
animation-fill-mode: both;
322324
animation-timeline: --section;
323325
animation-range:
324326
cover calc(100vh - var(--header-offset))

0 commit comments

Comments
 (0)