1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Fixed layout issues

This commit is contained in:
Laurent Cozic 2017-11-10 20:43:44 +00:00
parent 43dff9362a
commit 769df5b818
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -288,7 +288,7 @@ class MdToHtml {
color: ` + style.htmlLinkColor + `
}
ul {
padding-left: 1em;
padding-left: 0;
}
a.checkbox {
font-size: 1.6em;