Skip to content

Commit a1fc3ca

Browse files
committed
ui tweaks
1 parent e64b934 commit a1fc3ca

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

examples/demo/src/components/modals/TooltipModal.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default function TooltipModal({ visible, tooltip, onClose }: Props) {
3535
))}
3636
</ScrollView>
3737
<TouchableOpacity style={styles.closeBtn} onPress={onClose}>
38-
<Text style={styles.closeBtnText}>CLOSE</Text>
38+
<Text style={styles.closeBtnText}>OK</Text>
3939
</TouchableOpacity>
4040
</View>
4141
</TouchableOpacity>
@@ -84,15 +84,14 @@ const styles = StyleSheet.create({
8484
},
8585
closeBtn: {
8686
marginTop: 16,
87-
backgroundColor: Colors.oneSignalRed,
88-
borderRadius: 8,
89-
paddingVertical: 12,
90-
alignItems: 'center',
87+
alignSelf: 'flex-end',
88+
paddingVertical: 8,
89+
paddingHorizontal: 4,
9190
},
9291
closeBtnText: {
9392
fontSize: 13,
9493
fontWeight: '600',
95-
color: '#fff',
94+
color: Colors.oneSignalRed,
9695
letterSpacing: 0.5,
9796
},
9897
});

0 commit comments

Comments
 (0)