mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 02:52:38 +00:00
remove empty lines
This commit is contained in:
@@ -111,7 +111,6 @@ const Editor = createClass({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
updateCurrentCursorPage : function(cursor) {
|
updateCurrentCursorPage : function(cursor) {
|
||||||
const lines = this.props.brew.text.split('\n').slice(1, cursor.line + 1);
|
const lines = this.props.brew.text.split('\n').slice(1, cursor.line + 1);
|
||||||
const pageRegex = this.props.brew.renderer == 'V3' ? PAGEBREAK_REGEX_V3 : /\\page/;
|
const pageRegex = this.props.brew.renderer == 'V3' ? PAGEBREAK_REGEX_V3 : /\\page/;
|
||||||
|
|||||||
@@ -4,10 +4,8 @@
|
|||||||
width : 100%;
|
width : 100%;
|
||||||
height : 100%;
|
height : 100%;
|
||||||
container : editor / inline-size;
|
container : editor / inline-size;
|
||||||
|
|
||||||
.codeEditor {
|
.codeEditor {
|
||||||
height : 100%;
|
height : 100%;
|
||||||
|
|
||||||
.CodeMirror { height : 100%; }
|
.CodeMirror { height : 100%; }
|
||||||
.pageLine {
|
.pageLine {
|
||||||
background : #33333328;
|
background : #33333328;
|
||||||
@@ -108,8 +106,6 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@container editor (width < 553px) {
|
@container editor (width < 553px) {
|
||||||
|
.editor .codeEditor .CodeMirror { height : calc(100% - 51px);}
|
||||||
.editor .codeEditor .CodeMirror { height : calc(100% - 51px) ; }
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user