mirror of
https://github.com/zadam/trilium.git
synced 2025-01-31 03:19:11 +08:00
advanced submenu is available in mobile
This commit is contained in:
parent
4f51f73b89
commit
173b28062e
1 changed files with 13 additions and 1 deletions
|
@ -74,6 +74,18 @@ const TPL = `
|
|||
font-size: 120%;
|
||||
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>
|
||||
|
||||
<button type="button" data-toggle="dropdown" data-placement="right"
|
||||
|
@ -178,7 +190,7 @@ const TPL = `
|
|||
</ul>
|
||||
</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>
|
||||
Show Help
|
||||
<kbd data-command="showHelp"></kbd>
|
||||
|
|
Loading…
Reference in a new issue