Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
fix(#130): Fixed visibility bug for image / label selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Gasser committed May 23, 2019
1 parent dfdde01 commit 7e6265f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/images/detail/Image.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const StyledSelector = styled.div`
left: ${props => props.pos.left * 100}%;
height: ${props => props.pos.height * 100}%;
width: ${props => props.pos.width * 100}%;
z-index: 10;
`;

// image
Expand Down
7 changes: 7 additions & 0 deletions src/images/detail/__tests__/__snapshots__/Image.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ exports[`Image test suite should render ImageContainer consistently 1`] = `
left: 200%;
height: 400%;
width: 300%;
z-index: 10;
}

.c3 {
Expand All @@ -118,6 +119,7 @@ exports[`Image test suite should render ImageContainer consistently 1`] = `
left: 2200%;
height: 4400%;
width: 3300%;
z-index: 10;
}

.c4 {
Expand Down Expand Up @@ -1729,6 +1731,7 @@ string",
left: 200%;
height: 400%;
width: 300%;
z-index: 10;
}

.c3 {
Expand All @@ -1741,6 +1744,7 @@ string",
left: 2200%;
height: 4400%;
width: 3300%;
z-index: 10;
}

.c7 {
Expand Down Expand Up @@ -7453,6 +7457,7 @@ string",
width: ",
[Function],
"%;
z-index: 10;
",
],
},
Expand Down Expand Up @@ -7527,6 +7532,7 @@ string",
width: ",
[Function],
"%;
z-index: 10;
",
],
},
Expand Down Expand Up @@ -7596,6 +7602,7 @@ string",
width: ",
[Function],
"%;
z-index: 10;
",
],
},
Expand Down

0 comments on commit 7e6265f

Please sign in to comment.