advanced submenu is available in mobile

This commit is contained in:
zadam 2022-12-13 22:29:26 +01:00
parent 4f51f73b89
commit 173b28062e

View File

@ -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>