Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: position the tooltip below the center of the copy button
Browse files Browse the repository at this point in the history
orlinmalkja committed Jan 8, 2025
1 parent a02e0ec commit 178a457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/metadata/CopyCitation.vue
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<Message
v-show="copiedCitation || isHovered"
:pt="{
root: 't-bg-zinc-700 t-text-white t-text-sm t-absolute -t-left-4 t-w-fit t-whitespace-nowrap t-rounded',
root: 't-bg-zinc-700 t-text-white t-text-sm t-absolute t-left-1/2 t--translate-x-1/2 t-w-fit t-whitespace-nowrap t-rounded',
wrapper: 't-flex t-flex-row t-pr-1',
icon: 't-hidden',
text: 't-pl-1',

0 comments on commit 178a457

Please sign in to comment.