Skip to content

Commit

Permalink
FitIndicator placement refined (placement: width / 2?)
Browse files Browse the repository at this point in the history
  • Loading branch information
nomasi committed Jun 28, 2017
1 parent 268e7d3 commit 8c672bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/SizeSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ReactTooltip from "react-tooltip";
import SizeSelector from "../api/SizeSelector";

const FitIndicator = (props) => {
const left = `calc(${props.value}% - 8px`;
const left = `calc(${props.value}% - 9px`;
const { selectedSize, t } = props;
const size = SizeSelector.sizeMapper.filter(([size]) => size === selectedSize)
.map(([_, sizeName]) => sizeName)[0] || "";
Expand Down

0 comments on commit 8c672bc

Please sign in to comment.