web/CopyIcon: change copy-animation id to class

This commit is contained in:
dumbmoron 2024-09-04 16:45:32 +00:00
parent 8b067e363b
commit 218916cee3
No known key found for this signature in database

View file

@ -7,7 +7,7 @@
export let regularIcon = false;
</script>
<div id="copy-animation" class:check>
<div class="copy-animation" class:check>
<div class="icon-copy">
{#if regularIcon}
<IconCopy />
@ -21,7 +21,7 @@
</div>
<style>
#copy-animation {
.copy-animation {
display: flex;
align-items: center;
justify-content: center;
@ -30,7 +30,7 @@
width: 24px;
}
#copy-animation :global(svg) {
.copy-animation :global(svg) {
will-change: transform;
}