Skip to content

Commit

Permalink
Merge pull request adobe#305 from shsteimer/issue-304-header-footer-cls
Browse files Browse the repository at this point in the history
add css rules to hide header and footer until they are loaded
  • Loading branch information
fkakatie authored Jul 30, 2024
2 parents 3e83daa + 82a84c5 commit 8676c36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ header {
height: var(--nav-height);
}

header .header,
footer .footer {
visibility: hidden;
}

header .header[data-block-status="loaded"],
footer .footer[data-block-status="loaded"] {
visibility: visible;
}

h1,
h2,
h3,
Expand Down

0 comments on commit 8676c36

Please sign in to comment.