disable shield background in distraction free mode, fixes #226

This commit is contained in:
azivner
2018-11-14 13:42:50 +01:00
parent 6652ddc20a
commit 040bb13800
2 changed files with 4 additions and 1 deletions

View File

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