Skip to content

Commit

Permalink
Update build lib
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronCCWong committed Dec 4, 2021
1 parent 09e162f commit 256d013
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ReactCardFlip.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ var ReactCardFlip = function (props) {
var frontRotateX = "rotateX(" + (infinite ? rotation : isFlipped ? 180 : 0) + "deg)";
var backRotateX = "rotateX(" + (infinite ? rotation + 180 : isFlipped ? 0 : -180) + "deg)";
var styles = {
back: __assign({ WebkitBackfaceVisibility: 'hidden', backfaceVisibility: 'hidden', height: '100%', left: '0', position: isFlipped ? 'relative' : 'absolute', top: '0', transform: (flipDirection === 'horizontal' ? backRotateY : backRotateX) +
'translateZ(1px)', transformStyle: 'preserve-3d', transition: flipSpeedFrontToBack + "s", width: '100%' }, back),
back: __assign({ WebkitBackfaceVisibility: 'hidden', backfaceVisibility: 'hidden', height: '100%', left: '0', position: isFlipped ? 'relative' : 'absolute', top: '0', transform: (flipDirection === 'horizontal' ? backRotateY : backRotateX) + 'translateZ(1px)', transformStyle: 'preserve-3d', transition: flipSpeedFrontToBack + "s", width: '100%' }, back),
container: {
perspective: '1000px',
zIndex: "" + cardZIndex,
Expand Down

0 comments on commit 256d013

Please sign in to comment.