This commit is contained in:
german 2026-04-14 15:25:02 +04:00
parent 7fe9c546c0
commit adf366c1d1
4 changed files with 7 additions and 3 deletions

View File

@ -179,6 +179,10 @@ export default class Find {
return document.getElementById(name); return document.getElementById(name);
} }
rootId() {
return this.root.id;
}
main(el) { main(el) {
this.root = el; this.root = el;
this._map.root = el; this._map.root = el;

View File

@ -66,7 +66,7 @@ class Quiz extends Find.createApp() {
setMeta() { setMeta() {
this.meta([ this.meta([
Find.content('<meta name="viewport" content="width=device-width, initial-scale=1">'), Find.content('<meta name="viewport" content="width=device-width, initial-scale=1">'),
Find.content('<style>body { margin: 20px; } </style>'), Find.content(`<style>#${this.rootId()} { margin: 20px; } </style>`),
Find.content( Find.content(
`<style> `<style>
.fit-image { .fit-image {

File diff suppressed because one or more lines are too long