🐛 Fix: truncation text in copy-button

This commit is contained in:
ZhenShuo Leo committed 2025-05-06 17:25:46 +08:00
1 parent 1d21656d5e
commit 7c13ba985f
2 files changed
+7 -1

No files matched your search

+3 -1
View File
@@ -90,7 +90,9 @@ body button {
}
.copy-button {
@apply absolute top-0 right-0 z-10 invisible w-20 py-1 font-mono text-sm cursor-pointer opacity-90 bg-neutral-200 whitespace-nowrap rounded-bl-md rounded-tr-md text-neutral-700 dark:bg-neutral-600 dark:text-neutral-200;
@apply absolute top-0 right-0 z-10 invisible w-20 py-1 font-mono text-sm cursor-pointer
opacity-90 bg-neutral-200 whitespace-nowrap rounded-bl-md rounded-tr-md text-neutral-700
dark:bg-neutral-600 dark:text-neutral-200 overflow-hidden truncate;
}
.copy-button:hover,