From 986b83ef5519ebb989ee4745d7a9715057dff972 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 3 Jun 2017 23:11:41 -0400 Subject: more stuff --- client/src/lib/timeline/timelineEvent.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/lib/timeline/timelineEvent.js') 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 ( this.props.onPress(this.props.item) }> -
this.ref = ref} style={{flex: 0}}>
+
this.ref = ref}>
{item.date} -- cgit v1.2.3-70-g09d2