From e5f3e7cc1e7d3999c19855955c487c6d22e4e9ea Mon Sep 17 00:00:00 2001 From: bat Date: Sun, 26 Mar 2023 23:47:46 +0000 Subject: [PATCH] Fix height --- components/layout.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/components/layout.js b/components/layout.js index 999c715..27c71f0 100644 --- a/components/layout.js +++ b/components/layout.js @@ -11,8 +11,6 @@ export class Layout extends HTMLElement { const style = document.createElement('style') style.textContent = ` :host { - width: 100%; - height: 100dvh; display: flex; flex-direction: column; } @@ -47,10 +45,7 @@ export class Layout extends HTMLElement { } get path() { - return new URL( - window.location.hash.slice(1) || '/', - window.location - ).pathname + return '/hello' } set editing(value) {