mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	style(next)/ribbon/note info: improve the layout on constrained width
This commit is contained in:
		
							parent
							
								
									dcea67fa9d
								
							
						
					
					
						commit
						ee40bb3b33
					
				| @ -80,6 +80,35 @@ div.editability-dropdown a.dropdown-item { | |||||||
|     font-size: 0.8em; |     font-size: 0.8em; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | /* Narrow width layout */ | ||||||
|  | .note-info-widget { | ||||||
|  |     container: note-info / inline-size; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | @container note-info (max-width: 800px) { | ||||||
|  |     table, tbody, tr, td, th { | ||||||
|  |         display: block; | ||||||
|  |         padding: 0 !important; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     tbody { | ||||||
|  |         display: flex; | ||||||
|  |         gap: 10px; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     tr { | ||||||
|  |         flex-grow: 1; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     th { | ||||||
|  |         font-size: .85em; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     td { | ||||||
|  |         margin-bottom: .5em; | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
| /* | /* | ||||||
|  * Attribute detail dialog |  * Attribute detail dialog | ||||||
|  */ |  */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Adorian Doran
						Adorian Doran