Skip to content

Commit 87c10ec

Browse files
committed
feat(launch): work without JS if Declarative Shadow Dom is supported
1 parent d7e461c commit 87c10ec

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@rocket/launch': patch
3+
---
4+
5+
Work without JavaScript if Declarative Shadow Dom (DSD) is supported by browser

packages/launch/src/LayoutMain.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,6 @@ export class LayoutMain extends Layout {
146146
<link rel="stylesheet" href="resolve:@rocket/launch/css/markdown.css" />
147147
`,
148148

149-
head__50: html`
150-
<style>
151-
body[dsd-pending] {
152-
display: none;
153-
}
154-
</style>
155-
`,
156-
157149
header__10: html`
158150
<a class="logo-link" href="/" slot="logo">
159151
${this.options.logoSmall}

0 commit comments

Comments
 (0)