From d0820856bbebc48e9c6e2b884c6476b74274b563 Mon Sep 17 00:00:00 2001 From: KKA11010 Date: Thu, 22 Jun 2023 20:12:49 +0200 Subject: [PATCH] Update Button.tsx style --- src/components/Button.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 7faadcd2..dd804ec6 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -22,10 +22,10 @@ export default function Button({ txt, border, outlined, filled, disabled, onPres disabled={disabled} style={[ styles.touchableOpacity, - { backgroundColor: hi[highlight] }, + { backgroundColor: hi[highlight], padding: 20 }, border ? { borderWidth: 1, borderColor: '#FAFAFA' } : {}, filled ? { backgroundColor: '#FAFAFA' } : {}, - outlined ? { backgroundColor: 'transparent', borderWidth: 1, borderColor: hi[highlight] } : {} + outlined ? { backgroundColor: 'transparent', padding: 18, borderWidth: 1, borderColor: hi[highlight] } : {} ]} onPress={onPress} > @@ -65,8 +65,7 @@ const styles = StyleSheet.create({ width: '100%' }, touchableOpacity: { - padding: 20, - borderRadius: 50 + borderRadius: 50, }, btnTxt: { color: '#FAFAFA',