diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-03-19 14:08:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-19 14:08:49 -0400 |
| commit | 7b4bf7992b562c8140628c48e2cc05c347cb1e01 (patch) | |
| tree | 91004473b372198585bcb2baa4ff2a9e2b8348a8 /src/components/moments/IndividualMomentTitleBar.tsx | |
| parent | 65503e327d65d08b4fb2ec0acc886be4d17dadb3 (diff) | |
| parent | b71263ae8d5cd0fdd30d8655bbf3526d9996b0f8 (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/IndividualMomentTitleBar.tsx')
| -rw-r--r-- | src/components/moments/IndividualMomentTitleBar.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/moments/IndividualMomentTitleBar.tsx b/src/components/moments/IndividualMomentTitleBar.tsx index 6cdfe0e8..88e0c308 100644 --- a/src/components/moments/IndividualMomentTitleBar.tsx +++ b/src/components/moments/IndividualMomentTitleBar.tsx @@ -18,7 +18,9 @@ const IndividualMomentTitleBar: React.FC<IndividualMomentTitleBarProps> = ({ <TouchableOpacity style={styles.closeButton} onPress={close}> <CloseIcon height={'100%'} width={'100%'} color={'white'} /> </TouchableOpacity> - <Text style={styles.header}>{title}</Text> + <View style={styles.headerContainer}> + <Text style={styles.header}>{title}</Text> + </View> </View> ); }; @@ -30,6 +32,10 @@ const styles = StyleSheet.create({ justifyContent: 'center', height: '5%', }, + headerContainer: { + flexShrink: 1, + marginLeft: '11%', + }, header: { color: 'white', fontSize: normalize(18), |
