mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-06 07:06:02 +00:00
web/CopyIcon: replace copy icon with a link icon
This commit is contained in:
parent
2e9721d611
commit
e45aa2bdf6
|
@ -1,5 +1,5 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import IconCopy from "@tabler/icons-svelte/IconCopy.svelte";
|
import IconLink from "@tabler/icons-svelte/IconLink.svelte";
|
||||||
import IconCheck from "@tabler/icons-svelte/IconCheck.svelte";
|
import IconCheck from "@tabler/icons-svelte/IconCheck.svelte";
|
||||||
|
|
||||||
export let check = false;
|
export let check = false;
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<div id="copy-animation" class:check>
|
<div id="copy-animation" class:check>
|
||||||
<div class="icon-copy">
|
<div class="icon-copy">
|
||||||
<IconCopy />
|
<IconLink />
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-check">
|
<div class="icon-check">
|
||||||
<IconCheck />
|
<IconCheck />
|
||||||
|
@ -16,6 +16,9 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#copy-animation {
|
#copy-animation {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
|
|
Loading…
Reference in a new issue