-
Notifications
You must be signed in to change notification settings - Fork 7
/
styles.js
58 lines (56 loc) · 1.13 KB
/
styles.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { StyleSheet, Dimensions, Platform } from 'react-native';
const { width, height } = Dimensions.get('window');
export const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#ffffff',
},
imageContainer: {
width,
height: 315,
padding: 25,
backgroundColor: '#fefefe',
alignItems: 'center',
// justifyContent: 'center',
},
image: {
flex: 1,
width: 300,
// height: 300,
marginBottom: 5,
},
textContainer: {
flexDirection: 'row',
alignContent: 'center',
justifyContent: 'space-between',
alignItems: 'center',
paddingLeft: 15,
},
title: {
flex: 4,
},
likesContainer: {
flex: 1,
justifyContent: 'center',
},
headerContainer: {
width,
height: Platform.OS === 'ios' ? 70 : 50,
backgroundColor: '#fefefe',
justifyContent: 'center',
alignContent: 'center',
alignItems: 'center',
flexDirection: 'row',
},
headerButton: {
flex: 1,
},
headerText: {
fontSize: 24,
fontWeight: '600',
flex: 4,
textAlign: 'center',
},
});