Documentation

This commit is contained in:
squidfunk 2020-03-16 12:03:04 +01:00
parent 1b07bef1c5
commit b7c3798fd7
2 changed files with 1 additions and 2 deletions

View File

@ -79,7 +79,7 @@ export function watchHeader(
const styles = getComputedStyle(el) const styles = getComputedStyle(el)
const sticky = [ const sticky = [
"sticky", /* Modern browsers */ "sticky", /* Modern browsers */
"-webkit-sticky" /* Old Safari */ "-webkit-sticky" /* Safari */
].includes(styles.position) ].includes(styles.position)
return of({ return of({
sticky, sticky,

View File

@ -61,7 +61,6 @@
summary { summary {
@extend .admonition-title; @extend .admonition-title;
// Hack: set to block, so Firefox doesn't render marker
outline: none; outline: none;
cursor: pointer; cursor: pointer;