mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-07 06:06:20 -04:00
CSS fixes after 98a7508a99
This commit is contained in:
parent
9e80193008
commit
88ff3e6ad8
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue