mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(share): improve style of copy button
This commit is contained in:
parent
1bcb811835
commit
89e931bca6
@ -1,5 +1,6 @@
|
|||||||
import "normalize.css";
|
import "normalize.css";
|
||||||
import "@triliumnext/ckeditor5/content.css";
|
import "@triliumnext/ckeditor5/content.css";
|
||||||
|
import "boxicons/css/boxicons.min.css";
|
||||||
import "@triliumnext/share-theme/styles/index.css";
|
import "@triliumnext/share-theme/styles/index.css";
|
||||||
import "@triliumnext/share-theme/scripts/index.js";
|
import "@triliumnext/share-theme/scripts/index.js";
|
||||||
|
|
||||||
|
@ -17,6 +17,13 @@
|
|||||||
|
|
||||||
.ck-content pre {
|
.ck-content pre {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content pre .copy-button {
|
||||||
|
position: absolute;
|
||||||
|
top: 0.5em;
|
||||||
|
right: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content h1,
|
#content h1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user