Skip to content

Commit

Permalink
Add CSS class to MiniCart label
Browse files Browse the repository at this point in the history
  • Loading branch information
claudivanfilho committed Aug 23, 2018
1 parent b5480f6 commit c6faabc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Add CSS class to `MiniCart` label.

## [1.0.2] - 2018-08-20
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion react/MiniCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class MiniCart extends Component {
<span className="vtex-minicart__bagde mt1 mr1">{quantity}</span>
)}
{iconLabel && (
<span className={`white f6 pl${quantity > 0 ? '6' : '4'} `}>
<span className={`vtex-minicart__label white f6 pl${quantity > 0 ? '6' : '4'} `}>
{iconLabel}
</span>
)}
Expand Down

0 comments on commit c6faabc

Please sign in to comment.