mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	advanced submenu is available in mobile
This commit is contained in:
		
							parent
							
								
									4f51f73b89
								
							
						
					
					
						commit
						173b28062e
					
				@ -74,6 +74,18 @@ const TPL = `
 | 
				
			|||||||
        font-size: 120%;
 | 
					        font-size: 120%;
 | 
				
			||||||
        margin-right: 5px;
 | 
					        margin-right: 5px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    body.mobile .show-help-button, body.mobile .show-about-dialog-button {
 | 
				
			||||||
 | 
					        /* hidden because these dialogs are not available for mobile */
 | 
				
			||||||
 | 
					        display: none;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    body.mobile .dropdown-submenu .dropdown-menu {
 | 
				
			||||||
 | 
					        display: block;
 | 
				
			||||||
 | 
					        font-size: 90%;
 | 
				
			||||||
 | 
					        position: relative;
 | 
				
			||||||
 | 
					        left: 0;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <button type="button" data-toggle="dropdown" data-placement="right"
 | 
					    <button type="button" data-toggle="dropdown" data-placement="right"
 | 
				
			||||||
@ -178,7 +190,7 @@ const TPL = `
 | 
				
			|||||||
            </ul>
 | 
					            </ul>
 | 
				
			||||||
        </li>
 | 
					        </li>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <li class="dropdown-item" data-trigger-command="showHelp">
 | 
					        <li class="dropdown-item show-help-button" data-trigger-command="showHelp">
 | 
				
			||||||
            <span class="bx bx-info-circle"></span>
 | 
					            <span class="bx bx-info-circle"></span>
 | 
				
			||||||
            Show Help
 | 
					            Show Help
 | 
				
			||||||
            <kbd data-command="showHelp"></kbd>
 | 
					            <kbd data-command="showHelp"></kbd>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user