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