fix scrolling behavior in firefox

This commit is contained in:
zadam 2020-01-01 19:57:57 +01:00
parent 8b9bf6e46f
commit 51dddb0bbb
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,8 @@ import libraryLoader from "./library_loader.js";
import treeService from './tree.js';
import noteAutocompleteService from './note_autocomplete.js';
import mimeTypesService from './mime_types.js';
import treeCache from "./tree_cache.js";
const ENABLE_INSPECTOR = false;
const mentionSetup = {
feeds: [
@ -95,7 +96,7 @@ class NoteDetailText {
}
});
if (glob.isDev) {
if (glob.isDev && ENABLE_INSPECTOR) {
await import('../../libraries/ckeditor/inspector.js');
CKEditorInspector.attach(this.textEditor);
}

View File

@ -137,7 +137,7 @@
</div>
</div>
<div style="display: flex; height: 100%;">
<div style="display: flex; flex-grow: 1; flex-shrink: 1; min-height: 0;">
<div id="left-pane" class="hide-in-zen-mode">
<div id="global-buttons">
<a id="create-top-level-note-button" title="Create new top level note" class="icon-action bx bx-folder-plus"></a>