Skip to content

Commit

Permalink
fix(hits): increase font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour authored and sarahdayan committed May 7, 2020
1 parent 0ca8fa3 commit 3954fef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config/Hit.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export function Hit({ hit, insights, view }) {
)}

<footer>
<span className="uni-Hit-Currency">$</span>
<strong>{hit.price.toLocaleString()}</strong>
<span className="uni-Hit-currency">$</span>
<span className="uni-Hit-price">{hit.price.toLocaleString()}</span>
</footer>
</div>

Expand Down
7 changes: 6 additions & 1 deletion src/config/Hit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

.uni-Hit-title {
font-size: 14px;
font-weight: 600;
letter-spacing: 0.025rem;
}

Expand Down Expand Up @@ -96,13 +97,17 @@
word-break: break-word;
}

.uni-Hit-Currency {
.uni-Hit-currency {
color: var(--algolia-theme-color-primary);
font-size: 13px;
font-weight: 600;
padding-right: 2px;
}

.uni-Hit-price {
font-weight: 600;
}

.uni-Hit-Actions {
align-items: center;
display: flex;
Expand Down

0 comments on commit 3954fef

Please sign in to comment.