fix height

This commit is contained in:
LenAnderson
2024-04-23 14:03:10 -04:00
parent d8fa2dfff0
commit 2f53455094

View File

@ -630,6 +630,7 @@ export class SlashCommandAutoComplete {
} else {
const rect = this.textarea.getBoundingClientRect();
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`;
if (this.isShowingDetails) {
this.domWrap.style.left = '1vw';