Smaller line height or smaller line margin/padding in Project Find Results


#1

Hello! Could you please suggest a proper configuration for my styles.less to make lines in Project Find Results pane smaller? Specifically, I want to get rid of some more pixels (marked with red) above and below the text and reduce the line height of all lines (not only active one but all of them) in the search result window. Thank you!


#2

After a bit of experimenting I came up with the following:

.preview-pane .results-view .search-result {
  padding: 0;
  margin: 0;
  line-height: 1;
}

.preview-pane .results-view .list-tree .selected::before {
  height: 100%;
}

Is there any other, maybe shorter or more appropriate way to do that? Or is this fine?


#3

That’s the appropriate way to accomplish your goal.