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