|
|
|
@ -71,7 +71,7 @@ export class Page extends HTMLElement { |
|
|
|
iframe { |
|
|
|
border: none; |
|
|
|
width: 100%; |
|
|
|
height: 90vh; |
|
|
|
height: 90dvh; |
|
|
|
} |
|
|
|
:host(.editing) iframe { |
|
|
|
display: none; |
|
|
|
@ -135,7 +135,7 @@ export class Page extends HTMLElement { |
|
|
|
|
|
|
|
get body() { |
|
|
|
try { |
|
|
|
return localStorage.getItem(this.path) ?? '' |
|
|
|
return localStorage.getItem(this.path) |
|
|
|
} catch (err) { |
|
|
|
console.error(err) |
|
|
|
return '' |
|
|
|
|