mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	client: Move note title to scrolling container
This commit is contained in:
		
							parent
							
								
									35da7908f8
								
							
						
					
					
						commit
						18b0907841
					
				| @ -122,19 +122,6 @@ export default class DesktopLayout { | ||||
|                         .id('center-pane') | ||||
|                         .child(new SplitNoteContainer(() => | ||||
|                                 new NoteWrapperWidget()                                     | ||||
|                                     .child(new FlexContainer('row').class('title-row') | ||||
|                                         .css("height", "50px") | ||||
|                                         .css("min-height", "50px") | ||||
|                                         .css('align-items', "center") | ||||
|                                         .cssBlock('.title-row > * { margin: 5px; }') | ||||
|                                         .child(new NoteIconWidget()) | ||||
|                                         .child(new NoteTitleWidget()) | ||||
|                                         .child(new SpacerWidget(0, 1)) | ||||
|                                         .child(new MovePaneButton(true)) | ||||
|                                         .child(new MovePaneButton(false)) | ||||
|                                         .child(new ClosePaneButton()) | ||||
|                                         .child(new CreatePaneButton()) | ||||
|                                     ) | ||||
|                                     .child( | ||||
|                                         new RibbonContainer() | ||||
|                                             // the order of the widgets matter. Some of these want to "activate" themselves
 | ||||
| @ -174,6 +161,19 @@ export default class DesktopLayout { | ||||
|                                     .child(                                         | ||||
|                                         new ScrollingContainer() | ||||
|                                             .filling() | ||||
|                                             .child(new FlexContainer('row').class('title-row') | ||||
|                                                 .css("height", "50px") | ||||
|                                                 .css("min-height", "50px") | ||||
|                                                 .css('align-items', "center") | ||||
|                                                 .cssBlock('.title-row > * { margin: 5px; }') | ||||
|                                                 .child(new NoteIconWidget()) | ||||
|                                                 .child(new NoteTitleWidget()) | ||||
|                                                 .child(new SpacerWidget(0, 1)) | ||||
|                                                 .child(new MovePaneButton(true)) | ||||
|                                                 .child(new MovePaneButton(false)) | ||||
|                                                 .child(new ClosePaneButton()) | ||||
|                                                 .child(new CreatePaneButton()) | ||||
|                                             ) | ||||
|                                             .child(new PromotedAttributesWidget()) | ||||
|                                             .child(new SqlTableSchemasWidget()) | ||||
|                                             .child(new NoteDetailWidget()) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran