diff --git a/site/src/components/code-block.js b/site/src/components/code-block.js index 31fca27..338170a 100644 --- a/site/src/components/code-block.js +++ b/site/src/components/code-block.js @@ -10,7 +10,9 @@ class CodeBlockComponent extends HTMLElement {
${this.trimmed}
+ }" id="pre" style="padding:1em;background:#efefef;margin:1em 0;border-radius:5px;font-size:large;">${ + this.trimmed + }
`; } diff --git a/site/src/pages/index.html b/site/src/pages/index.html index 6acc485..98ad84a 100644 --- a/site/src/pages/index.html +++ b/site/src/pages/index.html @@ -13,7 +13,7 @@ header, footer, main { - max-width: 35em; + max-width: 40em; margin: 0 auto; } @@ -27,6 +27,7 @@ no-framework framework that assists developers in leveraging the web platform.

+ npm create mcfly@latest

Here's a sample interactive custom element: