feat(mobile): introduce about dialog

This commit is contained in:
Elian Doran 2025-01-04 18:24:05 +02:00
parent 874809254d
commit f7d3737cba
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -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())
}
}

View File

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