Skip to content

Commit

Permalink
fix: Incorrect highlight maker position in class list in data browser (
Browse files Browse the repository at this point in the history
  • Loading branch information
dblythy authored Jun 29, 2023
1 parent 842d84a commit 8c28d24
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/CategoryList/CategoryList.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ export default class CategoryList extends React.Component {
this.highlight.style.top = height + 'px';
return;
}
if (this.state.openClasses.includes(id)) {
if (id === 'classSeparator') {
height += 13;
}
else if (this.state.openClasses.includes(id)) {
height = height + (20 * (c.filters.length + 1))
} else {
height += 20;
Expand Down

0 comments on commit 8c28d24

Please sign in to comment.