React Flip-Card error on the back of the card
I'm trying to provide a React React project with a Flip-Card from this library: https://github.com/mzabriskie/react-flipcard
We use "reflexbox" for styling.
The problem is the reverse icon (also in the text). The front of the image (I'm using svg) is in the correct position, but the back of the icon is โunderโ. I am trying to change and change position for a class and change position, but not working.
The nested style is provided by React-FlipCard: https://github.com/mzabriskie/react-flipcard/blob/master/lib/helpers/injectStyle.js
and I changed:
.ReactFlipCard__Front, .ReactFlipCard__Back {
position: inherit;
To show the problem, I provide .gif and .png
GIF: https://gyazo.com/924c7c6d949fca49747c98b14f36b596
RETURN wrong PNG position: http://imgur.com/a/RJbEW
In JavaScript, I use basic code for states and return Flipcard
and in the child i just insert Icon
Flexbox looks ok, there is something wrong with this css flip card.
source to share