mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	feat(share): improve style of copy button
This commit is contained in:
		@@ -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";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user