mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	better styling for drop marker #2073
This commit is contained in:
		
							parent
							
								
									adc98d4515
								
							
						
					
					
						commit
						830a357b9a
					
				@ -212,12 +212,18 @@ span.fancytree-node:hover .add-note-button {
 | 
				
			|||||||
    border: 1px solid var(--main-border-color);
 | 
					    border: 1px solid var(--main-border-color);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#fancytree-drop-marker.fancytree-drop-after, #fancytree-drop-marker.fancytree-drop-before {
 | 
				
			||||||
 | 
					    width: 100px;
 | 
				
			||||||
 | 
					    /* marker is by default position: relative which doesn't make sense */
 | 
				
			||||||
 | 
					    position: absolute !important;
 | 
				
			||||||
 | 
					    /* heaving a height helps with positioning since the algorithm calculating "top" takes it into account */
 | 
				
			||||||
 | 
					    height: 19px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#fancytree-drop-marker.fancytree-drop-after {
 | 
					#fancytree-drop-marker.fancytree-drop-after {
 | 
				
			||||||
    width: 60px;
 | 
					    border-bottom: 1px solid var(--muted-text-color);
 | 
				
			||||||
    border-bottom: 1px solid var(--main-border-color);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#fancytree-drop-marker.fancytree-drop-before {
 | 
					#fancytree-drop-marker.fancytree-drop-before {
 | 
				
			||||||
    width: 60px;
 | 
					    border-top: 1px solid var(--muted-text-color);
 | 
				
			||||||
    border-top: 1px solid var(--main-border-color);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user