mirror of
https://github.com/xvvvyz/tilde.git
synced 2026-03-11 14:44:24 +00:00
showModal() -> show() to get rid of unnecessary margin
This commit is contained in:
parent
eb543ac985
commit
f4313b6bce
1 changed files with 2 additions and 1 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue