diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-03 23:11:41 -0400 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-03 23:11:41 -0400 |
| commit | 986b83ef5519ebb989ee4745d7a9715057dff972 (patch) | |
| tree | 3c0134c18d21f93f56cb2d5533c7c9795952b3eb /client/src/lib/timeline/timelineEvent.js | |
| parent | 5cc9c731a37a54b5da0ac096f231b56d245885a6 (diff) | |
more stuff
Diffstat (limited to 'client/src/lib/timeline/timelineEvent.js')
| -rw-r--r-- | client/src/lib/timeline/timelineEvent.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/lib/timeline/timelineEvent.js b/client/src/lib/timeline/timelineEvent.js index 903ceed..3888fc2 100644 --- a/client/src/lib/timeline/timelineEvent.js +++ b/client/src/lib/timeline/timelineEvent.js @@ -13,6 +13,7 @@ const isIpad = (navigator.userAgent.match(/iPad/i)) const isAndroid = (navigator.userAgent.match(/Android/i)) const isMobile = isIphone || isIpad || isAndroid const isDesktop = ! isMobile +const isFirefox = navigator.userAgent.match('Firefox') const imageHeight = isMobile ? 70 : 100 const imageWidth = isMobile ? 100 : 150 @@ -47,7 +48,7 @@ export default class TimelineEvent extends Component { } return ( <TouchableOpacity style={styles.item} activeOpacity={0.8} onPress={() => this.props.onPress(this.props.item) }> - <div ref={(ref) => this.ref = ref} style={{flex: 0}}></div> + <div ref={(ref) => this.ref = ref}></div> <View style={styles.item}> <View style={styles.dateContainer}> <ClearText style={styles.date}>{item.date}</ClearText> |
