Skip to content

Commit

Permalink
Fixed before after height issue
Browse files Browse the repository at this point in the history
  • Loading branch information
awaismbajwa committed Nov 11, 2020
1 parent 6ce30ae commit 2448a00
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -5,6 +5,7 @@
}

.container {
height: 100%;
--frame1pos: -8;
--frame2pos: 16;
--frame3pos: -32;
Expand All @@ -17,6 +18,11 @@
from BeforeAfter.js, which has no sensible default value */
}

/* Selects react-compare-image container div */
.container > div {
height: 100% !important;
}

/* With react-compare-image 2.0.4 (commit 7410d14), this selects the
slider */
.container.wiggle div div:nth-child(3) {
Expand Down

0 comments on commit 2448a00

Please sign in to comment.