Skip to content

Commit 8c28d24

Browse files
authored
fix: Incorrect highlight maker position in class list in data browser (#2490)
1 parent 842d84a commit 8c28d24

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/CategoryList/CategoryList.react.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ export default class CategoryList extends React.Component {
6666
this.highlight.style.top = height + 'px';
6767
return;
6868
}
69-
if (this.state.openClasses.includes(id)) {
69+
if (id === 'classSeparator') {
70+
height += 13;
71+
}
72+
else if (this.state.openClasses.includes(id)) {
7073
height = height + (20 * (c.filters.length + 1))
7174
} else {
7275
height += 20;

0 commit comments

Comments
 (0)