mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-27 01:51:34 +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 "@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, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran