Fix height

file-group-page
bat 3 years ago
parent bb56d1530a
commit e5f3e7cc1e

@ -11,8 +11,6 @@ export class Layout extends HTMLElement {
const style = document.createElement('style') const style = document.createElement('style')
style.textContent = ` style.textContent = `
:host { :host {
width: 100%;
height: 100dvh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@ -47,10 +45,7 @@ export class Layout extends HTMLElement {
} }
get path() { get path() {
return new URL( return '/hello'
window.location.hash.slice(1) || '/',
window.location
).pathname
} }
set editing(value) { set editing(value) {

Loading…
Cancel
Save