mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-27 07:12:39 +00:00
remove empty lines
This commit is contained in:
@@ -111,7 +111,6 @@ const Editor = createClass({
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
updateCurrentCursorPage : function(cursor) {
|
||||
const lines = this.props.brew.text.split('\n').slice(1, cursor.line + 1);
|
||||
const pageRegex = this.props.brew.renderer == 'V3' ? PAGEBREAK_REGEX_V3 : /\\page/;
|
||||
|
||||
@@ -4,10 +4,8 @@
|
||||
width : 100%;
|
||||
height : 100%;
|
||||
container : editor / inline-size;
|
||||
|
||||
.codeEditor {
|
||||
height : 100%;
|
||||
|
||||
.CodeMirror { height : 100%; }
|
||||
.pageLine {
|
||||
background : #33333328;
|
||||
@@ -108,8 +106,6 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
@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