Skip to content

Commit

Permalink
Remove viewbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Dias committed Jan 4, 2019
1 parent 14b8a8e commit c125e9d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions react/MiniCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class MiniCart extends Component {
>
<div className="flex items-center">
<div className={`relative ${iconClasses}`}>
<Icon id="hpa-cart" viewBox="0 0 16 16" size={iconSize} />
<Icon id="hpa-cart" size={iconSize} />
{quantity > 0 && (
<span className={`${minicart.badge} c-on-emphasis absolute t-mini bg-emphasis br4 w1 h1 pa1 flex justify-center items-center lh-solid`}>
{quantity}
Expand All @@ -151,15 +151,15 @@ export class MiniCart extends Component {
{miniCartContent}
</Sidebar>
) : (
openContent && (
<Popup
onOutsideClick={this.handleUpdateContentVisibility}
buttonOffsetWidth={this.iconRef.offsetWidth}
>
{miniCartContent}
</Popup>
)
))}
openContent && (
<Popup
onOutsideClick={this.handleUpdateContentVisibility}
buttonOffsetWidth={this.iconRef.offsetWidth}
>
{miniCartContent}
</Popup>
)
))}
</div>
)
}
Expand Down

0 comments on commit c125e9d

Please sign in to comment.