From 14b8f0acb52cfe6eca4d74a583562939d3aa7a1a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 4 Jun 2017 15:55:37 -0400 Subject: safari timeline --- client/src/lib/views/livestream.js | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'client/src/lib/views/livestream.js') diff --git a/client/src/lib/views/livestream.js b/client/src/lib/views/livestream.js index d3df460..ff06d0c 100644 --- a/client/src/lib/views/livestream.js +++ b/client/src/lib/views/livestream.js @@ -43,6 +43,8 @@ export default class Livestream extends Component { /> ) }).filter(button => !!button) + const first_buttons = buttons.slice(0, 3) + const second_buttons = buttons.slice(3) return ( @@ -51,7 +53,10 @@ export default class Livestream extends Component { - {buttons} + {first_buttons} + + + {second_buttons} {this.props.content.body} @@ -116,13 +121,20 @@ const styles = StyleSheet.create({ }, buttons: { width: '100%', - paddingTop: 20, + marginLeft: -25, + paddingTop: 30, flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, + secondButtons: { + paddingTop: 0, + }, button: { - margin: 20, + marginTop: 0, + marginLeft: 10, + marginRight: 10, + marginBottom: 0, }, activeButtonText: { color: 'red', -- cgit v1.2.3-70-g09d2