mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
1b07bef1c5
commit
b7c3798fd7
@ -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,
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user