mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	Add an extra separator for the zoom controls in the global menu
This commit is contained in:
		
							parent
							
								
									bd2bcb7c97
								
							
						
					
					
						commit
						312c3ed6ad
					
				@ -138,6 +138,8 @@ const TPL = `
 | 
				
			|||||||
            ${t('global_menu.show_shared_notes_subtree')}
 | 
					            ${t('global_menu.show_shared_notes_subtree')}
 | 
				
			||||||
        </li>
 | 
					        </li>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <div class="dropdown-divider"></div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <span class="zoom-container dropdown-item">
 | 
					        <span class="zoom-container dropdown-item">
 | 
				
			||||||
            <div>
 | 
					            <div>
 | 
				
			||||||
                <span class="bx bx-empty"></span>
 | 
					                <span class="bx bx-empty"></span>
 | 
				
			||||||
@ -157,7 +159,7 @@ const TPL = `
 | 
				
			|||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </span>
 | 
					        </span>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="dropdown-divider"></div>
 | 
					        <div class="dropdown-divider zoom-container-separator"></div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <li class="dropdown-item switch-to-mobile-version-button" data-trigger-command="switchToMobileVersion">
 | 
					        <li class="dropdown-item switch-to-mobile-version-button" data-trigger-command="switchToMobileVersion">
 | 
				
			||||||
            <span class="bx bx-mobile"></span>
 | 
					            <span class="bx bx-mobile"></span>
 | 
				
			||||||
@ -308,6 +310,7 @@ export default class GlobalMenuWidget extends BasicWidget {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        if (!utils.isElectron()) {
 | 
					        if (!utils.isElectron()) {
 | 
				
			||||||
            this.$widget.find(".zoom-container").hide();
 | 
					            this.$widget.find(".zoom-container").hide();
 | 
				
			||||||
 | 
					            this.$widget.find(".zoom-container-separator").hide();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this.$zoomState = this.$widget.find(".zoom-state");
 | 
					        this.$zoomState = this.$widget.find(".zoom-state");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user