Milde optimizations

This commit is contained in:
Zef Hemel
2023-11-16 09:59:37 +01:00
parent 5b81185afa
commit 1af5e022a0
8 changed files with 18 additions and 13 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
/* Reset SB styles */
html,
body {
height: initial !important;
overflow: initial !important;
/*height: initial !important;
overflow-x: initial !important;
overflow-y: hidden !important;*/
background-color: var(--root-background-color) !important;
}
@@ -33,6 +33,7 @@ ol {
ul {
list-style: none;
padding-left: 1ch;
}
ul li::before {
+1 -1
View File
@@ -47,7 +47,7 @@ async function init() {
const messageData = e.data;
switch (messageData.type) {
case "setHeight":
iframe.style.height = messageData.height + "px";
iframe.height = messageData.height + "px";
// Propagate height setting to parent
updateHeight();
break;