Closed alexmick closed 8 years ago
This css
.row { padding: 10px; padding-left: 5px; flex-direction: row; margin-bottom: 2px; }
will compile to
row: { paddingTop: 10, paddingBottom: 10, paddingRight: 10, paddingLeft: "5px", flexDirection: row, marginBottom: "2px", }
which is not valid for a React Native Stylesheet.
I believe this is because the padding-left overrides the padding just above and that isn't properly managed.
padding-left
padding
I've forked the repo, written a regression test and will try to submit a PR with a fix.
merged, thank you for contributing.
This css
will compile to
which is not valid for a React Native Stylesheet.
I believe this is because the
padding-left
overrides thepadding
just above and that isn't properly managed.I've forked the repo, written a regression test and will try to submit a PR with a fix.