diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-24 14:00:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 14:00:47 -0400 |
commit | 21d15d4f1984a8da0331dc364ef4a928be6b5ed9 (patch) | |
tree | 4643bc8add3ceabc143a4d50bd6b7ec9b5620f1c | |
parent | 33c107f7382955f6993d8415f08262f51060d178 (diff) | |
parent | e01decc7ac5f62469f0491d2e673d57c7745ea4e (diff) |
Merge pull request #326 from ankit-thanekar007/tma-732-individual-moment-centered-issue
[TMA-732] : Individual Moment not Centered
-rw-r--r-- | src/components/moments/IndividualMomentTitleBar.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/moments/IndividualMomentTitleBar.tsx b/src/components/moments/IndividualMomentTitleBar.tsx index 88e0c308..79453ade 100644 --- a/src/components/moments/IndividualMomentTitleBar.tsx +++ b/src/components/moments/IndividualMomentTitleBar.tsx @@ -29,14 +29,14 @@ const styles = StyleSheet.create({ container: { flexDirection: 'row', alignItems: 'center', - justifyContent: 'center', + justifyContent: 'flex-start', height: '5%', }, headerContainer: { - flexShrink: 1, - marginLeft: '11%', + width: '80%', }, header: { + textAlign: 'center', color: 'white', fontSize: normalize(18), fontWeight: '700', @@ -44,10 +44,9 @@ const styles = StyleSheet.create({ letterSpacing: normalize(1.3), }, closeButton: { - position: 'absolute', height: '50%', aspectRatio: 1, - left: '3%', + left: '8%', }, }); |