Skip to content

Commit

Permalink
Merge pull request #26 from Benmuiruri/order-issues
Browse files Browse the repository at this point in the history
Center header in Issues component and display number of issues found
  • Loading branch information
shadmanhere committed Oct 5, 2022
2 parents 07b01fa + 67ff213 commit f573761
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ const Issues = () => {
console.log(issueListFlat);
return (
<div className="issue-container h-100 d-flex flex-column">
<h1 className="filter-title">Issues</h1>
<div className="issue-header">
<div className="filter-title text-center">
<h1 className="filter-title text-center">Issues</h1>
<span>{selectedLabels.length ? issueListFlat?.length : 0} available issues</span>
</div>
</div>

<div className="overflow-y-scroll">
<ul className="grid gap-2 p-2 xxl:grid-cols-5 xl:grid-cols-4 lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1">
Expand Down

0 comments on commit f573761

Please sign in to comment.