mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	layout tweaks
This commit is contained in:
		| @@ -9,7 +9,6 @@ const TPL = ` | ||||
|     .note-paths-widget { | ||||
|         display: flex;  | ||||
|         flex-direction: row; | ||||
|         border-bottom: 1px solid var(--main-border-color); | ||||
|         padding: 5px 10px 5px 10px; | ||||
|     } | ||||
|      | ||||
|   | ||||
| @@ -51,21 +51,21 @@ const TPL = ` | ||||
|      | ||||
|     .collapse-tree-button { | ||||
|         position: absolute; | ||||
|         top: 10px; | ||||
|         bottom: 10px; | ||||
|         right: 70px; | ||||
|         z-index: 100; | ||||
|     } | ||||
|      | ||||
|     .scroll-to-active-note-button { | ||||
|         position: absolute; | ||||
|         top: 10px; | ||||
|         bottom: 10px; | ||||
|         right: 35px; | ||||
|         z-index: 100; | ||||
|     } | ||||
|      | ||||
|     .tree-settings-button { | ||||
|         position: absolute; | ||||
|         top: 10px; | ||||
|         bottom: 10px; | ||||
|         right: 0px; | ||||
|         z-index: 100; | ||||
|     } | ||||
| @@ -223,7 +223,7 @@ export default class NoteTreeWidget extends TabAwareWidget { | ||||
|  | ||||
|             let top = this.$treeSettingsButton[0].offsetTop; | ||||
|             let left = this.$treeSettingsButton[0].offsetLeft; | ||||
|             top += this.$treeSettingsButton.outerHeight(); | ||||
|             top -= this.$treeSettingsPopup.outerHeight(); | ||||
|             left += this.$treeSettingsButton.outerWidth() - this.$treeSettingsPopup.outerWidth(); | ||||
|  | ||||
|             if (left < 0) { | ||||
|   | ||||
| @@ -15,7 +15,7 @@ const TPL = ` | ||||
|      | ||||
|     .standard-top-widget button { | ||||
|         padding: 1px 5px 1px 5px; | ||||
|         font-size: smaller; | ||||
|         font-size: 90%; | ||||
|         margin-bottom: 2px; | ||||
|         margin-top: 2px; | ||||
|         margin-right: 8px; | ||||
| @@ -24,7 +24,8 @@ const TPL = ` | ||||
|      | ||||
|     .standard-top-widget button.btn-sm .bx { | ||||
|         position: relative; | ||||
|         top: 1px; | ||||
|         top: 2px; | ||||
|         font-size: 120%; | ||||
|     } | ||||
|      | ||||
|     .standard-top-widget button:hover { | ||||
| @@ -39,7 +40,7 @@ const TPL = ` | ||||
|         </button> | ||||
|      | ||||
|         <button class="btn btn-sm jump-to-note-dialog-button" data-trigger-command="jumpToNote"> | ||||
|             <span class="bx bx-crosshair"></span> | ||||
|             <span class="bx bx-send"></span> | ||||
|             Jump to note | ||||
|         </button> | ||||
|      | ||||
|   | ||||
		Reference in New Issue
	
	Block a user