mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-05 23:21:54 +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 PromotedAttributesWidget from "../widgets/ribbon_widgets/promoted_attributes.js";
|
||||||
import ClassicEditorToolbar from "../widgets/ribbon_widgets/classic_editor_toolbar.js";
|
import ClassicEditorToolbar from "../widgets/ribbon_widgets/classic_editor_toolbar.js";
|
||||||
import SidebarContainer from "../widgets/mobile_widgets/sidebar_container.js";
|
import SidebarContainer from "../widgets/mobile_widgets/sidebar_container.js";
|
||||||
|
import AboutDialog from "../widgets/dialogs/about.js";
|
||||||
|
|
||||||
const MOBILE_CSS = `
|
const MOBILE_CSS = `
|
||||||
<style>
|
<style>
|
||||||
@ -185,6 +186,7 @@ export default class MobileLayout {
|
|||||||
.css("height", "53px")
|
.css("height", "53px")
|
||||||
.child(new LauncherContainer(true))
|
.child(new LauncherContainer(true))
|
||||||
.child(new GlobalMenuWidget(true))
|
.child(new GlobalMenuWidget(true))
|
||||||
.id("launcher-pane"));
|
.id("launcher-pane"))
|
||||||
|
.child(new AboutDialog())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ const TPL = `
|
|||||||
margin-right: 5px;
|
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 */
|
/* hidden because these dialogs are not available for mobile */
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user