Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
fix: add padding to copyable when icon is not shown
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scholtes committed Jun 11, 2021
1 parent 22f8afc commit 08c2ed7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/DesignSystem/Component/Copyable.svelte
Expand Up @@ -54,6 +54,10 @@
padding-left: 0.5rem;
}
.pad {
padding-right: 0.5rem;
}
.content {
align-items: center;
background-color: var(--color-foreground-level-2);
Expand All @@ -66,6 +70,7 @@
<span
class="basic"
class:content={styleContent}
class:pad={!showIcon}
bind:this={slotContent}
{style}>
<slot />
Expand Down

0 comments on commit 08c2ed7

Please sign in to comment.