From a6703ef731a1136031945e0738c1021b6f5dfd8f Mon Sep 17 00:00:00 2001 From: David Bolack Date: Wed, 9 Apr 2025 13:30:03 -0500 Subject: [PATCH] Clear up confusing commment and consolidate style tag. --- client/homebrew/editor/editor.jsx | 2 +- client/homebrew/editor/editor.less | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index 3179a1c5f..6859c5aa2 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -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; diff --git a/client/homebrew/editor/editor.less b/client/homebrew/editor/editor.less index 5d84e488b..7fbed0ff7 100644 --- a/client/homebrew/editor/editor.less +++ b/client/homebrew/editor/editor.less @@ -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; }