mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	absolute positioning of relation map buttons to maximize screen estate
This commit is contained in:
		
							parent
							
								
									0b85f87cb2
								
							
						
					
					
						commit
						a065a610c1
					
				@ -28,7 +28,7 @@ const RELATION_MAP = {
 | 
			
		||||
        "libraries/panzoom.js"
 | 
			
		||||
    ],
 | 
			
		||||
    css: [
 | 
			
		||||
        "stylesheets/relation-map.css"
 | 
			
		||||
        "stylesheets/relation_map.css"
 | 
			
		||||
    ]
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -78,3 +78,8 @@ path, .jtk-endpoint { cursor:pointer; }
 | 
			
		||||
.ui-contextmenu {
 | 
			
		||||
    z-index: 100;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.floating-button {
 | 
			
		||||
    position: absolute !important;
 | 
			
		||||
    z-index: 100;
 | 
			
		||||
}
 | 
			
		||||
@ -1,12 +1,12 @@
 | 
			
		||||
<div id="note-detail-relation-map" class="note-detail-component">
 | 
			
		||||
    <button id="relation-map-create-child-note" class="btn btn-sm" type="button"
 | 
			
		||||
    <button id="relation-map-create-child-note" class="btn btn-sm floating-button" type="button"
 | 
			
		||||
            title="Create new child note and add it into this relation map">
 | 
			
		||||
        <span class="jam jam-plus"></span>
 | 
			
		||||
 | 
			
		||||
        Create child note
 | 
			
		||||
    </button>
 | 
			
		||||
 | 
			
		||||
    <div class="btn-group" style="float: right; padding-right: 20px;">
 | 
			
		||||
    <div class="btn-group floating-button" style="right: 20px;">
 | 
			
		||||
        <button type="button"
 | 
			
		||||
                class="btn icon-button jam jam-search-plus"
 | 
			
		||||
                title="Zoom In"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user