mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-28 03:46:06 -05:00 
			
		
		
		
	Merge pull request #1019 from amenk/feature/print-css-for-doc-list
Add print css for document list
This commit is contained in:
		
							
								
								
									
										30
									
								
								src-ui/src/print.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								src-ui/src/print.scss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| @media print { | ||||
|   #sidebarMenu, .btn-toolbar { | ||||
|     display: none !important | ||||
|   } | ||||
|  | ||||
|   .sticky-top { | ||||
|     display: none; | ||||
|   } | ||||
|  | ||||
|   main, main.ml-sm-auto, main.mx-sm-auto { | ||||
|     margin-left: 0 !important; | ||||
|     margin-right: 0 !important; | ||||
|   } | ||||
|  | ||||
|   main.col-lg-10 { | ||||
|     max-width: 100%; | ||||
|     flex-basis: 100%; | ||||
|     display: block; | ||||
|   } | ||||
|  | ||||
|   .d-none.d-lg-table-cell { // always display ASN on print | ||||
|     display: table-cell !important; | ||||
|   } | ||||
|  | ||||
|   app-document-list table { | ||||
|     thead th:first-child, tbody td:first-child { // hide checkboxes | ||||
|       display: none; | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -1,5 +1,6 @@ | ||||
| @import "theme"; | ||||
| @import "theme_dark"; | ||||
| @import "print"; | ||||
| @import "node_modules/bootstrap/scss/bootstrap"; | ||||
| @import "~@ng-select/ng-select/themes/default.theme.css"; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jonas Winkler
					Jonas Winkler