Skip to content

Commit

Permalink
Merge pull request #59 from nomasi/master
Browse files Browse the repository at this point in the history
Indicator placement bug at IE11 fixed
  • Loading branch information
tjjalava authored Jun 28, 2017
2 parents 55982d6 + 8c672bc commit 0548d58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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
2 changes: 2 additions & 0 deletions src/common/SizeSlider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
svg.recommendation, svg.indicator {
position: absolute;
height: 18px;
width: 18px;
bottom: -4px;
transition: left 0.5s ease-in-out;
cursor: help;
Expand Down Expand Up @@ -78,6 +79,7 @@

svg.recommendation {
bottom: 0;
width: 36px;
path {
fill: $recommendation_color;
fill-opacity: 0.75;
Expand Down

0 comments on commit 0548d58

Please sign in to comment.