diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-15 18:52:47 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-03-15 18:52:47 -0400 |
commit | 9b1bf4d7e81583a34a6896c0f53890d78b71d06b (patch) | |
tree | 434d7c93605f8244d177dc4a9c9cb8c7f78827d6 | |
parent | 39c8ef103966026f4d75fc1a4a4ad3f9cbb0117a (diff) |
button text align center and slightly taller
-rw-r--r-- | src/components/common/GradientBorderButton.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/common/GradientBorderButton.tsx b/src/components/common/GradientBorderButton.tsx index 00f46a96..32ac5c52 100644 --- a/src/components/common/GradientBorderButton.tsx +++ b/src/components/common/GradientBorderButton.tsx @@ -46,11 +46,12 @@ const styles = StyleSheet.create({ }, gradientContainer: { width: SCREEN_WIDTH / 2 - 40, - height: 40, + height: 43, }, label: { fontWeight: '500', fontSize: normalize(14), + textAlign: 'center', }, maskBorder: { borderRadius: 20, @@ -58,7 +59,7 @@ const styles = StyleSheet.create({ textContainer: { position: 'absolute', width: SCREEN_WIDTH / 2 - 40, - height: 40, + height: 43, justifyContent: 'center', alignItems: 'center', }, |