feat(share): improve style of copy button

This commit is contained in:
Elian Doran 2025-06-09 18:31:02 +03:00
parent 1bcb811835
commit 89e931bca6
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
import "normalize.css";
import "@triliumnext/ckeditor5/content.css";
import "boxicons/css/boxicons.min.css";
import "@triliumnext/share-theme/styles/index.css";
import "@triliumnext/share-theme/scripts/index.js";

View File

@ -17,6 +17,13 @@
.ck-content pre {
overflow: auto;
position: relative;
}
.ck-content pre .copy-button {
position: absolute;
top: 0.5em;
right: 0.5em;
}
#content h1,