mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	style(next)/quick search/results dropdown: add a temporary workaround for the broken backdrop effect when the background effects are active
This commit is contained in:
		
							parent
							
								
									fd054693d9
								
							
						
					
					
						commit
						6cfc6509f6
					
				| @ -577,15 +577,21 @@ div.quick-search .search-button.show { | |||||||
|     transition: background-color 100ms ease-out !important; |     transition: background-color 100ms ease-out !important; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /* |  | ||||||
|  * Quick search results |  | ||||||
|  */ |  | ||||||
| 
 |  | ||||||
| div.quick-search .dropdown-menu { | div.quick-search .dropdown-menu { | ||||||
|     --quick-search-item-delimiter-color: transparent; |     --quick-search-item-delimiter-color: transparent; | ||||||
|     --menu-item-icon-vert-offset: -.065em; |     --menu-item-icon-vert-offset: -.065em; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | /* | ||||||
|  |  * TO FIX: The quick search results dropdown has a backdrop issue with the tree panel | ||||||
|  |  * when background effects are enabled in Electron. | ||||||
|  |  * As a temporary workaround, the backdrop and transparency are disabled for the | ||||||
|  |  * vertical layout. | ||||||
|  |  */ | ||||||
|  | body.layout-vertical.background-effects div.quick-search .dropdown-menu { | ||||||
|  |     --menu-background-color: var(--menu-background-color-no-backdrop); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| /* Item */ | /* Item */ | ||||||
| .quick-search .dropdown-menu *.dropdown-item { | .quick-search .dropdown-menu *.dropdown-item { | ||||||
|     padding: 8px 12px !important; |     padding: 8px 12px !important; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Adorian Doran
						Adorian Doran