Replace border with inset box-shadow
MODIFY
styles/find-and-replace.less
styles/find-and-replace.less
@@ -294,7 +294,8 @@ atom-workspace.find-visible {
}
.search-result {
- border-top: 1px solid @base-border-color;
+ // box-shadow over a border is used to not affect height calculation
+ box-shadow: inset 0 1px 0 @base-border-color;
}
.preview {

Replace border with inset box-shadow