mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	feat(mermaid): make diagram full width for pan/zoom purposes
This commit is contained in:
		
							parent
							
								
									592a7fe771
								
							
						
					
					
						commit
						7a16774cdc
					
				@ -33,6 +33,11 @@ const TPL = `<div class="mermaid-widget">
 | 
				
			|||||||
            height: 100%;
 | 
					            height: 100%;
 | 
				
			||||||
            text-align: center;
 | 
					            text-align: center;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .mermaid-render svg {
 | 
				
			||||||
 | 
					            max-width: 100% !important;
 | 
				
			||||||
 | 
					            width: 100%;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="mermaid-error alert alert-warning">
 | 
					    <div class="mermaid-error alert alert-warning">
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user