Skip to content

Commit b44943a

Browse files
author
vvo
committed
fix: switch back to divs, rendering glitch
When using <ul> <li> there's a rendering glitch (a border) that I cannot remove. Only here because of all the react wrapping but still cannot use it now. Until we find another templating solution
1 parent e559669 commit b44943a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/RefinementList.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ class RefinementList extends React.Component {
4141
var template = this.props.template;
4242

4343
return (
44-
<ul className={this.props.rootClass}>
44+
<div className={this.props.rootClass}>
4545
{facetValues.map(facetValue => {
4646
return (
47-
<li className={this.props.itemClass} key={facetValue.name} onClick={this.handleClick.bind(this, facetValue.name)}>
47+
<div className={this.props.itemClass} key={facetValue.name} onClick={this.handleClick.bind(this, facetValue.name)}>
4848
<Template data={facetValue} template={template} />
49-
</li>
49+
</div>
5050
);
5151
})}
52-
</ul>
52+
</div>
5353
);
5454
}
5555
}

0 commit comments

Comments
 (0)