diff options
author | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-03-24 10:48:56 -0700 |
---|---|---|
committer | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-03-24 10:52:22 -0700 |
commit | e01decc7ac5f62469f0491d2e673d57c7745ea4e (patch) | |
tree | 4643bc8add3ceabc143a4d50bd6b7ec9b5620f1c /src | |
parent | 33c107f7382955f6993d8415f08262f51060d178 (diff) |
Center issue fix
Diffstat (limited to 'src')
-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%', }, }); |