From d68edd8e2f0f3a6aa95dc5ea1031fda063702552 Mon Sep 17 00:00:00 2001 From: First-Terraner <40151034+KKA11010@users.noreply.github.com> Date: Fri, 23 Jun 2023 08:33:15 +0200 Subject: [PATCH] Update Button.tsx style (#80) --- 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',