Added support for announcement bar

This commit is contained in:
squidfunk
2020-01-25 14:25:50 +01:00
parent 68272079c3
commit eb968dfec0
10 changed files with 18 additions and 14 deletions

View File

@@ -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({