summaryrefslogtreecommitdiff
path: root/client/src/lib/timeline/timelineEvent.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/lib/timeline/timelineEvent.js')
-rw-r--r--client/src/lib/timeline/timelineEvent.js3
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>