Skip to content

Commit

Permalink
feat: enhance cells counter
Browse files Browse the repository at this point in the history
  • Loading branch information
amrsalama committed Feb 13, 2020
1 parent ec7886b commit d139282
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Components/BoardCell/BoardCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class BoardCell extends React.Component {
{verdict !== undefined ? (
<>
<div>{verdict}</div>
<div>{triesBeforeAC ? `+${triesBeforeAC}` : ""}</div>
<div className="tries-before-ac">
{triesBeforeAC ? `+${triesBeforeAC}` : ""}
</div>
<div
className="list"
style={{
Expand Down
5 changes: 5 additions & 0 deletions src/Components/BoardCell/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ export default css`
font-size: 16px;
}
.board-cell .tries-before-ac {
font-size: 10px;
margin-top: -2px;
}
.list {
position: absolute;
z-index: 1;
Expand Down

0 comments on commit d139282

Please sign in to comment.