showModal() -> show() to get rid of unnecessary margin

This commit is contained in:
Cade Scroggins 2022-07-25 15:39:51 -07:00
parent eb543ac985
commit f4313b6bce
No known key found for this signature in database
GPG key ID: 6AC5A902158265D0

View file

@ -344,6 +344,7 @@
position: relative;
transition: color var(--transition-speed);
white-space: nowrap;
z-index: 1;
}
.suggestion:focus,
@ -585,7 +586,7 @@
#onKeydown = (e) => {
if (!this.#refs.dialog.open) {
this.#refs.dialog.showModal();
this.#refs.dialog.show();
this.#refs.input.focus();
requestAnimationFrame(() => {