mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
chaged "focused mode" - now title is displayed as well and together with content takes whole window
This commit is contained in:
@@ -58,7 +58,13 @@ function registerEntrypoints() {
|
||||
utils.bindShortcut('alt+right', window.history.forward);
|
||||
}
|
||||
|
||||
utils.bindShortcut('alt+m', e => $(".hide-toggle").toggleClass("suppressed"));
|
||||
utils.bindShortcut('alt+m', e => {
|
||||
$(".hide-toggle").toggle();
|
||||
|
||||
// when hiding switch display to block, otherwise grid still tries to display columns which shows
|
||||
// left empty column
|
||||
$("#container").css("display", $("#container").css("display") === "grid" ? "block" : "grid");
|
||||
});
|
||||
|
||||
// hide (toggle) everything except for the note content for distraction free writing
|
||||
utils.bindShortcut('alt+t', e => {
|
||||
|
||||
Reference in New Issue
Block a user