mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix height
This commit is contained in:
@ -630,6 +630,7 @@ export class SlashCommandAutoComplete {
|
|||||||
} else {
|
} else {
|
||||||
const rect = this.textarea.getBoundingClientRect();
|
const rect = this.textarea.getBoundingClientRect();
|
||||||
this.domWrap.style.setProperty('--bottom', `${window.innerHeight - rect.top}px`);
|
this.domWrap.style.setProperty('--bottom', `${window.innerHeight - rect.top}px`);
|
||||||
|
this.dom.style.setProperty('--bottom', `${window.innerHeight - rect.top}px`);
|
||||||
this.domWrap.style.bottom = `${window.innerHeight - rect.top}px`;
|
this.domWrap.style.bottom = `${window.innerHeight - rect.top}px`;
|
||||||
if (this.isShowingDetails) {
|
if (this.isShowingDetails) {
|
||||||
this.domWrap.style.left = '1vw';
|
this.domWrap.style.left = '1vw';
|
||||||
|
Reference in New Issue
Block a user