mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	fix include note PDF sizing, closes #2116
This commit is contained in:
		
							parent
							
								
									a6bef45a30
								
							
						
					
					
						commit
						19a6d89d4f
					
				@ -80,7 +80,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "cross-env": "7.0.3",
 | 
			
		||||
    "electron": "13.1.4",
 | 
			
		||||
    "electron": "13.2.1",
 | 
			
		||||
    "electron-builder": "22.11.1",
 | 
			
		||||
    "electron-packager": "15.2.0",
 | 
			
		||||
    "electron-rebuild": "2.3.5",
 | 
			
		||||
 | 
			
		||||
@ -732,11 +732,11 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
 | 
			
		||||
    overflow: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.include-note.box-size-medium .include-note-content.type-pdf {
 | 
			
		||||
.include-note.box-size-medium .include-note-content.type-pdf .rendered-note-content {
 | 
			
		||||
    height: 20em; /* PDF is rendered in iframe and must be sized absolutely */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.include-note.box-size-full .include-note-content.type-pdf {
 | 
			
		||||
.include-note.box-size-full .include-note-content.type-pdf .rendered-note-content {
 | 
			
		||||
    height: 50em; /* PDF is rendered in iframe and it's not possible to put full height so at least a large height */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user