mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(mobile): improve alignment of the title bar
This commit is contained in:
parent
1bf2f10c98
commit
ab5a6c59b8
@ -151,7 +151,7 @@ export default class MobileLayout {
|
||||
.css("font-size", "larger")
|
||||
.css("align-items", "center")
|
||||
.child(new ToggleSidebarButtonWidget().contentSized())
|
||||
.child(new NoteTitleWidget().contentSized().css("position", "relative").css("top", "5px").css("padding-left", "0.5em"))
|
||||
.child(new NoteTitleWidget().contentSized().css("position", "relative").css("padding-left", "0.5em"))
|
||||
.child(new MobileDetailMenuWidget(true).contentSized())
|
||||
)
|
||||
.child(new SharedInfoWidget())
|
||||
@ -169,7 +169,7 @@ export default class MobileLayout {
|
||||
new ScrollingContainer()
|
||||
.filling()
|
||||
.contentSized()
|
||||
.child(new NoteDetailWidget().css("padding", "5px 0 10px 0"))
|
||||
.child(new NoteDetailWidget())
|
||||
.child(new NoteListWidget())
|
||||
.child(new FilePropertiesWidget().css("font-size", "smaller"))
|
||||
)
|
||||
|
@ -6,7 +6,7 @@ import branchService from "../../services/branches.js";
|
||||
import treeService from "../../services/tree.js";
|
||||
import { t } from "../../services/i18n.js";
|
||||
|
||||
const TPL = `<button type="button" class="action-button bx" style="padding-top: 10px;"></button>`;
|
||||
const TPL = `<button type="button" class="action-button bx"></button>`;
|
||||
|
||||
class MobileDetailMenuWidget extends BasicWidget {
|
||||
private isHorizontalLayout: boolean;
|
||||
|
@ -1,7 +1,7 @@
|
||||
import BasicWidget from "../basic_widget.js";
|
||||
|
||||
const TPL = `
|
||||
<button type="button" class="action-button bx bx-sidebar" style="padding-top: 10px;"></button>`;
|
||||
<button type="button" class="action-button bx bx-sidebar"></button>`;
|
||||
|
||||
class ToggleSidebarButtonWidget extends BasicWidget {
|
||||
doRender() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user