feat(codeblock): add title support

This commit is contained in:
ZhenShuo Leo committed 2025-12-18 02:38:31 +08:00
1 parent f487e616bf
commit 0e3bad2be7
5 files changed
+73 -36

No files matched your search

+1 -5
View File
@@ -94,15 +94,11 @@ button,
}
/* Code Copy */
.highlight-wrapper {
@apply block;
}
.highlight {
@apply relative z-0;
}
.highlight:hover > .copy-button {
.highlight-wrapper:hover > .copy-button {
@apply visible;
}