0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

Clear up confusing commment and consolidate style tag.

This commit is contained in:
David Bolack
2025-04-09 13:30:03 -05:00
parent bd9d9d4ab6
commit a6703ef731
2 changed files with 2 additions and 6 deletions

View File

@@ -171,7 +171,7 @@ const Editor = createClass({
for (let i=customHighlights.length - 1;i>=0;i--) customHighlights[i].clear();
let userSnippetCount = 1; // start snippet count from page 2
let userSnippetCount = 1; // start snippet count from snippet 1
let editorPageCount = 1; // start page count from page 1
const whichSource = this.state.view === 'text' ? this.props.brew.text : this.props.brew.snippets;

View File

@@ -7,11 +7,7 @@
.codeEditor {
height : 100%;
.CodeMirror { height : 100%; }
.pageLine {
background : #33333328;
border-top : #333399 solid 1px;
}
.snippetLine {
.pageLine, .snippetLine {
background : #33333328;
border-top : #333399 solid 1px;
}