mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-01 04:12:58 +08:00
feat(mobile): introduce about dialog
This commit is contained in:
parent
874809254d
commit
f7d3737cba
@ -25,6 +25,7 @@ import SharedInfoWidget from "../widgets/shared_info.js";
|
||||
import PromotedAttributesWidget from "../widgets/ribbon_widgets/promoted_attributes.js";
|
||||
import ClassicEditorToolbar from "../widgets/ribbon_widgets/classic_editor_toolbar.js";
|
||||
import SidebarContainer from "../widgets/mobile_widgets/sidebar_container.js";
|
||||
import AboutDialog from "../widgets/dialogs/about.js";
|
||||
|
||||
const MOBILE_CSS = `
|
||||
<style>
|
||||
@ -185,6 +186,7 @@ export default class MobileLayout {
|
||||
.css("height", "53px")
|
||||
.child(new LauncherContainer(true))
|
||||
.child(new GlobalMenuWidget(true))
|
||||
.id("launcher-pane"));
|
||||
.id("launcher-pane"))
|
||||
.child(new AboutDialog())
|
||||
}
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ const TPL = `
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
body.mobile .show-help-button, body.mobile .show-about-dialog-button {
|
||||
body.mobile .show-help-button {
|
||||
/* hidden because these dialogs are not available for mobile */
|
||||
display: none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user