mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	hide canvas buttons which don't work, #4182
This commit is contained in:
		
							parent
							
								
									d706b3a447
								
							
						
					
					
						commit
						b5ef09e779
					
				
							
								
								
									
										5
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										5
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -1,12 +1,11 @@ | ||||
| { | ||||
|   "name": "trilium", | ||||
|   "version": "0.61.3-beta", | ||||
|   "version": "0.61.4-beta", | ||||
|   "lockfileVersion": 2, | ||||
|   "requires": true, | ||||
|   "packages": { | ||||
|     "": { | ||||
|       "name": "trilium", | ||||
|       "version": "0.61.3-beta", | ||||
|       "version": "0.61.4-beta", | ||||
|       "hasInstallScript": true, | ||||
|       "license": "AGPL-3.0-only", | ||||
|       "dependencies": { | ||||
|  | ||||
| @ -36,6 +36,14 @@ const TPL = ` | ||||
|             display: none !important; | ||||
|         } | ||||
|          | ||||
|         button[data-testid='save-button'], button[data-testid='json-export-button'] { | ||||
|             display: none !important; /* these exports don't work, user should use import/export dialog */ | ||||
|         } | ||||
|          | ||||
|         .library-button { | ||||
|             display: none !important; /* library won't work without extra support which isn't currently implemented */ | ||||
|         } | ||||
| 
 | ||||
|         </style> | ||||
|         <!-- height here necessary. otherwise excalidraw not shown --> | ||||
|         <div class="canvas-render" style="height: 100%"></div>   | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam