mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-23 06:13:38 -04:00
Added support for announcement bar
This commit is contained in:
@@ -53,7 +53,7 @@ export function watchHeader(
|
||||
): Observable<HeaderState> {
|
||||
return defer(() => {
|
||||
const sticky = getComputedStyle(el)
|
||||
.getPropertyValue("position") === "fixed"
|
||||
.getPropertyValue("position") === "sticky"
|
||||
|
||||
/* Return header as hot observable */
|
||||
return of({
|
||||
|
||||
Reference in New Issue
Block a user