CSS fixes after 98a7508a99

This commit is contained in:
oobabooga 2025-06-01 08:00:37 -07:00
parent 9e80193008
commit 88ff3e6ad8
2 changed files with 2 additions and 2 deletions

View file

@ -665,7 +665,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
position: absolute;
background-color: transparent;
left: -2px;
top: 4px;
top: -14px;
padding: var(--block-padding);
}

View file

@ -184,7 +184,7 @@ const observer = new MutationObserver(function(mutations) {
const prevSibling = lastChild?.previousElementSibling;
if (lastChild && prevSibling) {
lastChild.style.setProperty("margin-bottom",
`max(0px, calc(max(70vh, 100vh - ${prevSibling.offsetHeight}px - 102px) - ${lastChild.offsetHeight}px))`,
`max(0px, calc(max(70vh, 100vh - ${prevSibling.offsetHeight}px - 84px) - ${lastChild.offsetHeight}px))`,
"important"
);
}