Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/input/copyable/Copyable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Copyable = ({
<p className={`${classText}`}>{text}</p>
<Tooltip
className="ml-6"
popsFrom="bottom"
popsFrom="top"
title={justCopied ? copiedText : copyToClipboardText}
delayInMs={justCopied ? 500 : undefined}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports[`Copyable Component > should match snapshot 1`] = `
style="line-height: 0;"
>
<div
class="pointer-events-none absolute top-full left-1/2 -translate-x-1/2 mt-1.5 flex items-center flex-col-reverse drop-shadow-tooltip transition-all duration-150 scale-50 opacity-0"
class="pointer-events-none absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 origin-bottom flex items-center flex-col drop-shadow-tooltip transition-all duration-150 scale-50 opacity-0"
>
<div
class="w-max rounded-lg bg-gray-90 px-4 py-1.5 text-center dark:bg-gray-5"
Expand All @@ -32,7 +32,7 @@ exports[`Copyable Component > should match snapshot 1`] = `
<div
class="bg-gray-90 dark:bg-gray-5 h-1.5 w-4"
data-testid="tooltip-arrow"
style="clip-path: polygon(50% 0%, 0% 100%, 100% 100%);"
style="clip-path: polygon(0% 0%, 100% 0%, 50% 100%); margin-top: -1px;"
/>
</div>
<button>
Expand Down Expand Up @@ -67,7 +67,7 @@ exports[`Copyable Component > should match snapshot 1`] = `
style="line-height: 0;"
>
<div
class="pointer-events-none absolute top-full left-1/2 -translate-x-1/2 mt-1.5 flex items-center flex-col-reverse drop-shadow-tooltip transition-all duration-150 scale-50 opacity-0"
class="pointer-events-none absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 origin-bottom flex items-center flex-col drop-shadow-tooltip transition-all duration-150 scale-50 opacity-0"
>
<div
class="w-max rounded-lg bg-gray-90 px-4 py-1.5 text-center dark:bg-gray-5"
Expand All @@ -81,7 +81,7 @@ exports[`Copyable Component > should match snapshot 1`] = `
<div
class="bg-gray-90 dark:bg-gray-5 h-1.5 w-4"
data-testid="tooltip-arrow"
style="clip-path: polygon(50% 0%, 0% 100%, 100% 100%);"
style="clip-path: polygon(0% 0%, 100% 0%, 50% 100%); margin-top: -1px;"
/>
</div>
<button>
Expand Down
Loading