web/SavingDialog: show that link was copied, better accessibility

This commit is contained in:
wukko
2024-07-28 23:29:32 +06:00
parent 3aeebcc911
commit 48d24ee1ea
4 changed files with 89 additions and 5 deletions

View File

@@ -5,9 +5,17 @@
};
export let fill = false;
export let elevated = false;
export let ariaLabel = "";
</script>
<button id="button-{id}" class="button vertical" class:fill class:elevated on:click={click}>
<button
id="button-{id}"
class="button vertical"
class:fill
class:elevated
on:click={click}
aria-label={ariaLabel}
>
<slot></slot>
</button>
@@ -19,6 +27,11 @@
gap: calc(var(--padding) / 2);
}
.button.vertical :global(svg) {
width: 24px;
height: 24px;
}
.button.vertical.fill {
width: 100%;
padding: var(--padding) 0;