Avoid changes to preview header element's height when re-searching
MODIFY
lib/project/results-pane.js
lib/project/results-pane.js
@@ -70,7 +70,7 @@ class ResultsPaneView {
{
ref: 'previewControls',
className: 'preview-controls',
- style: showIf(matchCount > 0)
+ style: {visibility: matchCount > 0 ? 'visible' : 'hidden'}
},
etch.dom.div({className: 'btn-group'},

Avoid changes to preview header element's height when re-searching