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

This commit is contained in:
Cade Scroggins
2022-07-25 15:40:05 -07:00
parent eb543ac985
commit f4313b6bce
+2 -1
View File
@@ -344,6 +344,7 @@
position: relative; position: relative;
transition: color var(--transition-speed); transition: color var(--transition-speed);
white-space: nowrap; white-space: nowrap;
z-index: 1;
} }
.suggestion:focus, .suggestion:focus,
@@ -585,7 +586,7 @@
#onKeydown = (e) => { #onKeydown = (e) => {
if (!this.#refs.dialog.open) { if (!this.#refs.dialog.open) {
this.#refs.dialog.showModal(); this.#refs.dialog.show();
this.#refs.input.focus(); this.#refs.input.focus();
requestAnimationFrame(() => { requestAnimationFrame(() => {