Further reduce header and footer styles

Instead, provide classes.

Also: prefix all classes with `foliate-`.
This commit is contained in:
John Factotum
2023-05-03 17:31:22 +08:00
parent 9e4ef02fa8
commit 41c00942d2
2 changed files with 5 additions and 14 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class Container {
// https://bugs.webkit.org/show_bug.cgi?id=218086
iframe.setAttribute('sandbox', 'allow-same-origin allow-scripts')
iframe.setAttribute('scrolling', 'no')
iframe.classList.add('filter')
iframe.classList.add('foliate-filter')
this.#element.append(element)
if (!src) return { blank: true, element, iframe }
return new Promise(resolve => {