Skip to content

Commit

Permalink
feat(launch): work without JS if Declarative Shadow Dom is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
daKmoR committed Aug 21, 2022
1 parent d7e461c commit 87c10ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-elephants-begin.md
@@ -0,0 +1,5 @@
---
'@rocket/launch': patch
---

Work without JavaScript if Declarative Shadow Dom (DSD) is supported by browser
8 changes: 0 additions & 8 deletions packages/launch/src/LayoutMain.js
Expand Up @@ -146,14 +146,6 @@ export class LayoutMain extends Layout {
<link rel="stylesheet" href="resolve:@rocket/launch/css/markdown.css" />
`,

head__50: html`
<style>
body[dsd-pending] {
display: none;
}
</style>
`,

header__10: html`
<a class="logo-link" href="/" slot="logo">
${this.options.logoSmall}
Expand Down

0 comments on commit 87c10ec

Please sign in to comment.