Skip to content

Commit

Permalink
docs: undo hiding of the dom on dsd hydration if noscript
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroedin committed Jun 4, 2024
1 parent 26fc201 commit 5c18f40
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/_includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
display: none;
}
</style>
{# if javascript is turned off we want to ensure the page renders #}
<noscript>
<style type="text/css">
body[dsd-pending] {
display: grid;
}
</style>
</noscript>

{% include "../partials/javascript/global.html" %}
</head>
Expand Down

0 comments on commit 5c18f40

Please sign in to comment.