aboutsummaryrefslogtreecommitdiff
path: root/src/components/moments/CaptionScreenHeader.tsx
diff options
context:
space:
mode:
authorankit-thanekar007 <ankit.thanekar007@gmail.com>2021-03-19 10:47:10 -0700
committerankit-thanekar007 <ankit.thanekar007@gmail.com>2021-03-19 10:54:49 -0700
commit7f32e6f239cd1458f2e81668f7c940ff103319f4 (patch)
treece291e5d00028d10a0ee730a315b4a1af2050c63 /src/components/moments/CaptionScreenHeader.tsx
parent65503e327d65d08b4fb2ec0acc886be4d17dadb3 (diff)
UAT bug fixes'
Diffstat (limited to 'src/components/moments/CaptionScreenHeader.tsx')
-rw-r--r--src/components/moments/CaptionScreenHeader.tsx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/components/moments/CaptionScreenHeader.tsx b/src/components/moments/CaptionScreenHeader.tsx
index 46dfddfe..0638c128 100644
--- a/src/components/moments/CaptionScreenHeader.tsx
+++ b/src/components/moments/CaptionScreenHeader.tsx
@@ -21,18 +21,15 @@ const styles = StyleSheet.create({
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
- height: '5%',
},
headerContainer: {
- position: 'absolute',
- left: '50%',
+ width: '90%',
},
header: {
- position: 'relative',
- right: '50%',
fontSize: 20,
fontWeight: 'bold',
color: 'white',
+ textAlign: 'center',
},
});
export default CaptionScreenHeader;