diff options
| author | jules <jules@carbonpictures.com> | 2017-06-04 17:07:25 +0000 |
|---|---|---|
| committer | jules <jules@carbonpictures.com> | 2017-06-04 17:07:25 +0000 |
| commit | 781a15e3a904cc73956f626794c57c5e99014392 (patch) | |
| tree | 8ff1836f7b0a9e60f8aff08b465218ed5f74684d /client/src/lib/timeline/timelineEvent.js | |
| parent | 0381d4cfd11c17aa5da9ba8d95ea7692dfbb03ec (diff) | |
| parent | 986b83ef5519ebb989ee4745d7a9715057dff972 (diff) | |
Merge branch 'master' of ghghgh.us:armory-fmf-cms
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> |
