mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-25 01:38:12 -07:00
website_next: part 9
This commit is contained in:
@@ -12,6 +12,7 @@ function closeOnBackdrop(event) {
|
||||
* @param {HTMLElement} host
|
||||
*/
|
||||
export function openDialog(dialog, host) {
|
||||
dialog.dataset.dialog = "";
|
||||
host.append(dialog);
|
||||
dialog.addEventListener("close", async () => {
|
||||
await waitForTransition();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
dialog {
|
||||
dialog[data-dialog] {
|
||||
--dialog-space: 1.5rem;
|
||||
|
||||
color-scheme: light;
|
||||
|
||||
Reference in New Issue
Block a user