mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/CopyIcon: change copy-animation id to class
This commit is contained in:
parent
8b067e363b
commit
218916cee3
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue