react-native-markdown-renderer icon indicating copy to clipboard operation
react-native-markdown-renderer copied to clipboard

Heading borderColor with React-native-web

Open vladp opened this issue 6 years ago • 0 comments
trafficstars

Not sure if this is meant to be supported or not. But would appreciate some pointers on where to start debugging.

I am using the package with RN (0.58) and RNW (react-native-web v 0.11.2). There is a bit of problem with RNW (as you can see on the right, the red lines (border of header)) is not being shown in RNW, but it works, correctly with RN.

Also the distance between Option and Description column, seems to be much wider in RNW. Is there a way to control that with flex styling?

md-renderer--issue1of2
var md1styles = StyleSheet.create({
  heading: {
    borderBottomWidth: 3,
    borderColor: 'red',
  },
  heading1: {
    fontSize: 32,
    backgroundColor: 'green',
    color: 'yellow',
  },
  heading2: {
    fontSize: 24,
  },
  heading3: {
    fontSize: 18,
  },
  heading4: {
    fontSize: 16,
  },
  heading5: {
    fontSize: 13,
  },
  heading6: {
    fontSize: 11,
  }
});

vladp avatar Apr 18 '19 22:04 vladp