mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	optimized canvas placement in trilium
This commit is contained in:
		
							parent
							
								
									24911da8db
								
							
						
					
					
						commit
						12185fbd32
					
				@ -6,9 +6,8 @@ const TPL = `
 | 
				
			|||||||
    <div 
 | 
					    <div 
 | 
				
			||||||
        id="parentContainer" 
 | 
					        id="parentContainer" 
 | 
				
			||||||
        class="note-detail-canvas-note note-detail-printable"
 | 
					        class="note-detail-canvas-note note-detail-printable"
 | 
				
			||||||
        style="overflow:auto; width: 100%; height: 400px; background-color: rgba(255,248,230,0.58); border: 1px double #efefef;"
 | 
					        style="overflow:auto; width: 100%; height: 500px; background-color: rgba(255,248,230,0.58); border: 1px double #efefef;"
 | 
				
			||||||
    >
 | 
					    >
 | 
				
			||||||
            <h1>Excalidraw Embed Example asdf</h1>
 | 
					 | 
				
			||||||
            <div id="app" style="width:100%; height: 100%"></div>
 | 
					            <div id="app" style="width:100%; height: 100%"></div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <style type="text/css">
 | 
					    <style type="text/css">
 | 
				
			||||||
@ -26,8 +25,7 @@ const TPL = `
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        .excalidraw-wrapper {
 | 
					        .excalidraw-wrapper {
 | 
				
			||||||
            height: 800px;
 | 
					            height: 100%;
 | 
				
			||||||
            margin: 50px;
 | 
					 | 
				
			||||||
            position: relative;
 | 
					            position: relative;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user