Skip to content

Commit

Permalink
Merge pull request #848 from nuthinking/master
Browse files Browse the repository at this point in the history
Replaced Counter:empty style from visibility:hidden to display:none
  • Loading branch information
Emily authored Jul 8, 2020
2 parents d8fada0 + e8c6559 commit 922e1ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CounterLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const CounterLabel = styled.span`
${COMMON};
&:empty {
visibility: hidden;
display: none;
}
${sx};
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/CounterLabel.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`CounterLabel renders consistently 1`] = `
}
.c0:empty {
visibility: hidden;
display: none;
}
<span
Expand Down

0 comments on commit 922e1ab

Please sign in to comment.