diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-04 17:30:25 -0400 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-04 17:30:25 -0400 |
| commit | 3064af9ad34c606ac199369bfe86346d00471fac (patch) | |
| tree | b432cac458c9734fb492743800065d2eb3d19f35 /client/src/lib/timeline/timelineFull.js | |
| parent | 85968a3a6bc5737715ed34fba942153174d2c993 (diff) | |
bonkers scroll bugs
Diffstat (limited to 'client/src/lib/timeline/timelineFull.js')
| -rw-r--r-- | client/src/lib/timeline/timelineFull.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/lib/timeline/timelineFull.js b/client/src/lib/timeline/timelineFull.js index 8490ce2..bc359c1 100644 --- a/client/src/lib/timeline/timelineFull.js +++ b/client/src/lib/timeline/timelineFull.js @@ -49,10 +49,10 @@ export default class TimelineFull extends Component { <View style={styles.imageContainer}> <View style={styles.imageWrapper}> <img src={item.image.uri} - style={[styles.image, { + style={{ width: width, height: height, - }]} /> + }} /> </View> {caption} </View> @@ -83,7 +83,7 @@ export default class TimelineFull extends Component { return `<a href='${tag}'>${tag}</a>` }).join(', ') - const description = '<p>' + item.description + '</p>' + const description = '<p>' + item.description.replace(/\n+/g,'\n\n') + '</p>' return ( <View style={styles.container}> |
