Milde optimizations
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user