mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fixed printing relation map
This commit is contained in:
		| @@ -165,6 +165,7 @@ async function printActiveNote() { | |||||||
|             "libraries/ckeditor/ckeditor-content.css", |             "libraries/ckeditor/ckeditor-content.css", | ||||||
|             "libraries/bootstrap/css/bootstrap.min.css", |             "libraries/bootstrap/css/bootstrap.min.css", | ||||||
|             "stylesheets/print.css", |             "stylesheets/print.css", | ||||||
|  |             "stylesheets/relation_map.css", | ||||||
|             "stylesheets/themes.css", |             "stylesheets/themes.css", | ||||||
|             "stylesheets/detail.css" |             "stylesheets/detail.css" | ||||||
|         ], |         ], | ||||||
|   | |||||||
| @@ -59,3 +59,11 @@ | |||||||
|     padding: 5px; |     padding: 5px; | ||||||
|     margin-top: 5px; |     margin-top: 5px; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .note-detail-image { | ||||||
|  |     text-align: center; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .note-detail-image-view { | ||||||
|  |     max-width: 100%; | ||||||
|  | } | ||||||
| @@ -4,4 +4,8 @@ | |||||||
|     { |     { | ||||||
|         display: none !important; |         display: none !important; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     .relation-map-wrapper { | ||||||
|  |         height: 100vh !important; | ||||||
|  |     } | ||||||
| } | } | ||||||
| @@ -518,14 +518,6 @@ button.icon-button { | |||||||
|     padding: 5px; |     padding: 5px; | ||||||
| } | } | ||||||
|  |  | ||||||
| .note-detail-image { |  | ||||||
|     text-align: center; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .note-detail-image-view { |  | ||||||
|     max-width: 100%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| pre:not(.CodeMirror-line) { | pre:not(.CodeMirror-line) { | ||||||
|     color: var(--main-text-color) !important; |     color: var(--main-text-color) !important; | ||||||
|     white-space: pre-wrap; |     white-space: pre-wrap; | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| <div class="note-detail-image note-detail-component"> | <div class="note-detail-image note-detail-component"> | ||||||
|     <div style="display: flex; justify-content: space-evenly; margin: 10px;"> |     <div class="no-print" style="display: flex; justify-content: space-evenly; margin: 10px;"> | ||||||
|         <button class="image-download btn btn-sm btn-primary" type="button">Download</button> |         <button class="image-download btn btn-sm btn-primary" type="button">Download</button> | ||||||
|  |  | ||||||
|         <button class="image-copy-to-clipboard btn btn-sm btn-primary" type="button">Copy to clipboard</button> |         <button class="image-copy-to-clipboard btn btn-sm btn-primary" type="button">Copy to clipboard</button> | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| <div class="note-detail-relation-map note-detail-component"> | <div class="note-detail-relation-map note-detail-component"> | ||||||
|     <button class="relation-map-create-child-note btn btn-sm floating-button" type="button" |     <button class="relation-map-create-child-note btn btn-sm floating-button no-print" type="button" | ||||||
|             title="Create new child note and add it into this relation map"> |             title="Create new child note and add it into this relation map"> | ||||||
|         <span class="bx bx-folder-plus"></span> |         <span class="bx bx-folder-plus"></span> | ||||||
|  |  | ||||||
| @@ -7,11 +7,11 @@ | |||||||
|     </button> |     </button> | ||||||
|  |  | ||||||
|     <button type="button" |     <button type="button" | ||||||
|             class="relation-map-reset-pan-zoom btn icon-button floating-button bx bx-crop" |             class="relation-map-reset-pan-zoom btn icon-button floating-button bx bx-crop no-print" | ||||||
|             title="Reset pan & zoom to initial coordinates and magnification" |             title="Reset pan & zoom to initial coordinates and magnification" | ||||||
|             style="right: 70px;"></button> |             style="right: 70px;"></button> | ||||||
|  |  | ||||||
|     <div class="btn-group floating-button" style="right: 10px;"> |     <div class="btn-group floating-button no-print" style="right: 10px;"> | ||||||
|         <button type="button" |         <button type="button" | ||||||
|                 class="relation-map-zoom-in btn icon-button bx bx-zoom-in" |                 class="relation-map-zoom-in btn icon-button bx bx-zoom-in" | ||||||
|                 title="Zoom In"></button> |                 title="Zoom In"></button> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user