Skip to content

Commit

Permalink
fix: switch back to divs, rendering glitch
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vvo committed Sep 8, 2015
1 parent e559669 commit b44943a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/RefinementList.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ class RefinementList extends React.Component {
var template = this.props.template;

return (
<ul className={this.props.rootClass}>
<div className={this.props.rootClass}>
{facetValues.map(facetValue => {
return (
<li className={this.props.itemClass} key={facetValue.name} onClick={this.handleClick.bind(this, facetValue.name)}>
<div className={this.props.itemClass} key={facetValue.name} onClick={this.handleClick.bind(this, facetValue.name)}>
<Template data={facetValue} template={template} />
</li>
</div>
);
})}
</ul>
</div>
);
}
}
Expand Down

0 comments on commit b44943a

Please sign in to comment.