Skip to content

Commit

Permalink
TopContributorsTable: keep styling responsibilities apart
Browse files Browse the repository at this point in the history
  • Loading branch information
julen committed Aug 5, 2016
1 parent 761489a commit 50320de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions pootle/static/js/browser/components/Stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ const Stats = React.createClass({
return (
<div className="summary-2-col">
<h3 className="top">{t('Top Contributors for the Last 30 Days')}</h3>
<TopContributorsTable
items={this.state.topContributors}
hasMoreItems={this.state.hasMoreContributors}
loadMore={this.loadMoreTopContributors}
/>
<div className="bd">
<TopContributorsTable
items={this.state.topContributors}
hasMoreItems={this.state.hasMoreContributors}
loadMore={this.loadMoreTopContributors}
/>
</div>
</div>
);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const TopContributorsTable = React.createClass({
);
}
return (
<div className="bd">
<div>
<table className="top-scorers-table">
<tbody>
{this.props.items.map(this.createRow)}
Expand Down

0 comments on commit 50320de

Please sign in to comment.