web/SavingDialog: show that link was copied, better accessibility
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user