diff --git a/explorer/src/components/Command.svelte b/explorer/src/components/Command.svelte
index 237bc1c63..68185f73d 100644
--- a/explorer/src/components/Command.svelte
+++ b/explorer/src/components/Command.svelte
@@ -1,11 +1,9 @@
@@ -33,24 +31,15 @@
border: 1px solid var(--color-border-mid);
color: var(--color-text-primary);
}
- .with-download {
- padding-right: 3.5rem;
- }
- .actions {
+ .clipboard {
display: flex;
align-items: center;
- position: absolute;
- right: 0.25rem;
- top: 0;
- height: 100%;
- }
- .download {
- width: 1.5rem;
- height: 1.5rem;
- display: inline-flex;
justify-content: center;
- align-items: center;
- color: inherit;
+ position: absolute;
+ right: 0;
+ top: 0;
+ width: 2rem;
+ height: 100%;
}
.full-width.wrapper,
@@ -66,7 +55,6 @@
tabindex="0"
class="cmd"
class:full-width={fullWidth}
- class:with-download={downloadHref}
on:click={() => {
clipboard.copy();
}}>
@@ -74,18 +62,7 @@
{#if showPrompt}${/if}
{command}
-
- {#if downloadHref}
-
-
-
- {/if}
+
diff --git a/explorer/src/views/repos/Header/CloneButton.svelte b/explorer/src/views/repos/Header/CloneButton.svelte
index b2a425f08..e0c97dc44 100644
--- a/explorer/src/views/repos/Header/CloneButton.svelte
+++ b/explorer/src/views/repos/Header/CloneButton.svelte
@@ -54,6 +54,23 @@
display: block;
margin-bottom: 0.75rem;
}
+ .download {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 0.5rem;
+ height: var(--button-regular-height);
+ margin-bottom: 1rem;
+ border: 1px solid var(--color-border-subtle);
+ border-radius: var(--border-radius-sm);
+ font: var(--txt-body-m-semibold);
+ color: var(--color-text-primary);
+ text-decoration: none;
+ }
+ .download:hover {
+ background-color: var(--color-surface-subtle);
+ border-color: var(--color-border-mid);
+ }
@@ -123,18 +140,16 @@
{:then supported}
{#if supported}
-
{:else}
{archiveUnsupportedMessage}