Tweak clone button icon placement

This commit is contained in:
Rūdolfs Ošiņš
2024-07-22 13:33:54 +02:00
parent 0a2dbe9e5d
commit cd38ed1134
2 changed files with 2 additions and 13 deletions
+1 -11
View File
@@ -254,17 +254,7 @@
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8 7.71891L10.2789 6.09009C10.5086 5.92587 10.819 5.99243 10.9722 6.23876C11.1254 6.4851 11.0633 6.81792 10.8335 6.98214L8.38828 8.72991C7.88444 9.09003 7.22805 9.09003 6.72421 8.72991L4.27894 6.98214C4.04918 6.81792 3.9871 6.4851 4.14027 6.23876C4.29344 5.99243 4.60387 5.92587 4.83363 6.09009L7 7.63851L7 3C7 2.72386 7.22386 2.5 7.5 2.5C7.77614 2.5 8 2.72386 8 3L8 7.71891ZM2.55624 8C2.2801 8 2.05624 8.22386 2.05624 8.5V12.5C2.05624 13.3284 2.72782 14 3.55624 14L11.5562 14C12.3847 14 13.0562 13.3284 13.0562 12.5V8.5C13.0562 8.22386 12.8324 8 12.5562 8C12.2801 8 12.0562 8.22386 12.0562 8.5V12.5C12.0562 12.7761 11.8324 13 11.5562 13L3.55624 13C3.2801 13 3.05624 12.7761 3.05624 12.5L3.05624 8.5C3.05624 8.22386 2.83239 8 2.55624 8Z" />
<path
fill-rule="evenodd"
d="M8.5 8.5A.5.5 0 009 8V3a.5.5 0 00-1 0v5a.5.5 0 00.5.5z"
clip-rule="evenodd">
</path>
<path
fill-rule="evenodd"
d="M5.084 6.239a.48.48 0 01.693-.149l2.446 1.748c.168.12.386.12.554 0l2.446-1.748a.48.48 0 01.693.149.56.56 0 01-.139.743L9.332 8.73c-.504.36-1.16.36-1.664 0L5.223 6.982a.56.56 0 01-.139-.743z"
clip-rule="evenodd">
</path>
d="M7 7.63851L7 3C7 2.72386 7.22386 2.5 7.5 2.5C7.77614 2.5 8 2.72386 8 3L8 7.71891L10.2789 6.09009C10.5086 5.92587 10.819 5.99243 10.9722 6.23876C11.1254 6.4851 11.0633 6.81792 10.8335 6.98214L8.38828 8.72991C7.88444 9.09003 7.22805 9.09003 6.72421 8.72991L4.27894 6.98214C4.04918 6.81792 3.9871 6.4851 4.14027 6.23876C4.29344 5.99243 4.60387 5.92587 4.83363 6.09009L7 7.63851ZM2.55624 8C2.2801 8 2.05624 8.22386 2.05624 8.5V12.5C2.05624 13.3284 2.72782 14 3.55624 14L11.5562 14C12.3847 14 13.0562 13.3284 13.0562 12.5V8.5C13.0562 8.22386 12.8324 8 12.5562 8C12.2801 8 12.0562 8.22386 12.0562 8.5V12.5C12.0562 12.7761 11.8324 13 11.5562 13L3.55624 13C3.2801 13 3.05624 12.7761 3.05624 12.5L3.05624 8.5C3.05624 8.22386 2.83239 8 2.55624 8Z" />
{:else if name === "edit"}
<path
fill-rule="evenodd"
+1 -2
View File
@@ -7,7 +7,6 @@
import Button from "@app/components/Button.svelte";
import Command from "@app/components/Command.svelte";
import ExternalLink from "@app/components/ExternalLink.svelte";
import Icon from "@app/components/Icon.svelte";
import IconSmall from "@app/components/IconSmall.svelte";
import Popover from "@app/components/Popover.svelte";
import Radio from "@app/components/Radio.svelte";
@@ -42,8 +41,8 @@
<Popover popoverPositionTop="2.5rem" popoverPositionRight="0">
<Button slot="toggle" let:toggle on:click={toggle} variant="outline">
<IconSmall name="download" />
<span class="global-hide-on-small-desktop-down">Clone</span>
<Icon name="download" />
</Button>
<div slot="popover" style:width="24rem" class="popover">