From f4313b6bce330af45dac45f89f35cd249d859c3e Mon Sep 17 00:00:00 2001 From: Cade Scroggins Date: Mon, 25 Jul 2022 15:39:51 -0700 Subject: [PATCH] showModal() -> show() to get rid of unnecessary margin --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 21a06c3..666f8c5 100644 --- a/index.html +++ b/index.html @@ -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(() => {