add configurable max content width with default value of 1200px.

This commit is contained in:
zadam
2021-10-31 21:55:11 +01:00
parent 5978447185
commit b0c0ed8512
7 changed files with 46 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ export default class SplitNoteContainer extends FlexContainer {
const $renderedWidget = widget.render();
$renderedWidget.attr("data-ntx-id", noteContext.ntxId);
$renderedWidget.css("flex-basis", "0"); // so that each split has same width
$renderedWidget.addClass("note-split");
$renderedWidget.on('click', () => appContext.tabManager.activateNoteContext(noteContext.ntxId));