diff --git a/ElectronClient/app/gui/NoteText.jsx b/ElectronClient/app/gui/NoteText.jsx index e09c55799..f413b3667 100644 --- a/ElectronClient/app/gui/NoteText.jsx +++ b/ElectronClient/app/gui/NoteText.jsx @@ -217,7 +217,7 @@ class NoteTextComponent extends React.Component { webviewReady: true, }); - // this.webview_.openDevTools(); + //this.webview_.openDevTools(); } webview_ref(element) { @@ -329,6 +329,8 @@ class NoteTextComponent extends React.Component { overflow: 'hidden', float: 'left', verticalAlign: 'top', + borderLeft: '1px solid ' + theme.dividerColor, + boxSizing: 'border-box', }; const paddingTop = 14; @@ -349,6 +351,7 @@ class NoteTextComponent extends React.Component { // to this bug: https://github.com/electron/electron/issues/8277 // So instead setting the width 0. viewerStyle.width = 0; + viewerStyle.borderLeft = 'none'; editorStyle.width = innerWidth; } diff --git a/ReactNativeClient/lib/MdToHtml.js b/ReactNativeClient/lib/MdToHtml.js index ab729e2e4..852e9c9ff 100644 --- a/ReactNativeClient/lib/MdToHtml.js +++ b/ReactNativeClient/lib/MdToHtml.js @@ -288,7 +288,7 @@ class MdToHtml { color: ` + style.htmlLinkColor + ` } ul { - padding-left: 1em; + padding-left: 0; } a.checkbox { font-size: 1.6em;