1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-08 07:36:39 +02:00

fix alpha overlap during scrolled code highlight transitions

This commit is contained in:
Hakim El Hattab
2023-09-12 10:35:37 +02:00
parent c5307462b0
commit 487cc860f8
5 changed files with 10 additions and 4 deletions

View File

@@ -1636,6 +1636,10 @@ $overlayHeaderPadding: 5px;
opacity: 0.4;
}
.reveal .hljs.has-highlights.fragment {
transition: all .2s ease;
}
.reveal .hljs:not(:first-child).fragment {
position: absolute;
top: 0;