mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	don't print control buttons
This commit is contained in:
		| @@ -164,6 +164,7 @@ async function printActiveNote() { | ||||
|             "libraries/ckeditor/ckeditor-content.css", | ||||
|             "libraries/ckeditor/ckeditor-content.css", | ||||
|             "libraries/bootstrap/css/bootstrap.min.css", | ||||
|             "stylesheets/print.css", | ||||
|             "stylesheets/themes.css", | ||||
|             "stylesheets/detail.css" | ||||
|         ], | ||||
|   | ||||
| @@ -148,8 +148,8 @@ class NoteDetailBook { | ||||
|                 const label = `${childCount} child${childCount > 1 ? 'ren' : ''}`; | ||||
|  | ||||
|                 $card.append($('<div class="note-book-children">') | ||||
|                     .append($(`<a class="note-book-open-children-button" href="javascript:">+ Show ${label}</a>`)) | ||||
|                     .append($(`<a class="note-book-hide-children-button" href="javascript:">- Hide ${label}</a>`).hide()) | ||||
|                     .append($(`<a class="note-book-open-children-button no-print" href="javascript:">+ Show ${label}</a>`)) | ||||
|                     .append($(`<a class="note-book-hide-children-button no-print" href="javascript:">- Hide ${label}</a>`).hide()) | ||||
|                     .append($('<div class="note-book-children-content">')) | ||||
|                 ); | ||||
|             } | ||||
|   | ||||
							
								
								
									
										7
									
								
								src/public/stylesheets/print.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/public/stylesheets/print.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| @media print | ||||
| { | ||||
|     .no-print, .no-print * | ||||
|     { | ||||
|         display: none !important; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user