feat(codeblock): add title support

This commit is contained in:
ZhenShuo Leo
2025-12-15 21:17:35 +08:00
parent f487e616bf
commit 0e3bad2be7
5 changed files with 73 additions and 36 deletions

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;
}