mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix "twitching" tree nodes on hover
This commit is contained in:
		| @@ -4,7 +4,7 @@ const TPL = ` | |||||||
| <div class="section-container"> | <div class="section-container"> | ||||||
|     <style> |     <style> | ||||||
|     .section-container { |     .section-container { | ||||||
|         margin-bottom: 10px;   |         margin-bottom: 5px;   | ||||||
|     } |     } | ||||||
|      |      | ||||||
|     .section-title-container { |     .section-title-container { | ||||||
|   | |||||||
| @@ -95,7 +95,7 @@ export default class CollapsibleWidget extends TabAwareWidget { | |||||||
|     updateToggleButton(collapse) { |     updateToggleButton(collapse) { | ||||||
|         if (collapse) { |         if (collapse) { | ||||||
|             this.$toggleButton |             this.$toggleButton | ||||||
|                 .addClass("bx-window") |                 .addClass("bx-chevron-down") | ||||||
|                 .removeClass("bx-minus") |                 .removeClass("bx-minus") | ||||||
|                 .attr("title", "Show"); |                 .attr("title", "Show"); | ||||||
|         } else { |         } else { | ||||||
|   | |||||||
| @@ -131,7 +131,7 @@ const TPL = ` | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     .tree-item-button { |     .tree-item-button { | ||||||
|         font-size: 130%; |         font-size: 120%; | ||||||
|         cursor: pointer; |         cursor: pointer; | ||||||
|         border-radius: 3px; |         border-radius: 3px; | ||||||
|         border: 1px solid var(--main-background-color); |         border: 1px solid var(--main-background-color); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user