mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
disable shield background in distraction free mode, fixes #226
This commit is contained in:
@@ -60,6 +60,7 @@ function registerEntrypoints() {
|
||||
// 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");
|
||||
$container.toggleClass("distraction-free-mode");
|
||||
});
|
||||
|
||||
// hide (toggle) everything except for the note content for distraction free writing
|
||||
|
||||
Reference in New Issue
Block a user