aboutsummaryrefslogtreecommitdiff
path: root/src/components/moments/CaptionScreenHeader.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-19 14:08:49 -0400
committerGitHub <noreply@github.com>2021-03-19 14:08:49 -0400
commit7b4bf7992b562c8140628c48e2cc05c347cb1e01 (patch)
tree91004473b372198585bcb2baa4ff2a9e2b8348a8 /src/components/moments/CaptionScreenHeader.tsx
parent65503e327d65d08b4fb2ec0acc886be4d17dadb3 (diff)
parentb71263ae8d5cd0fdd30d8655bbf3526d9996b0f8 (diff)
Merge pull request #310 from ankit-thanekar007/tma-708-710-711-bug-fixes
[TMA-708-710-711] : 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;