diff --git a/src/components/Lightbox.tsx b/src/components/Lightbox.tsx index 96b818d..dfd0c44 100644 --- a/src/components/Lightbox.tsx +++ b/src/components/Lightbox.tsx @@ -59,16 +59,18 @@ const getLightboxFooterComponent = )} {content && {content}} + {onPressDelete && ( + + + + + + )} - {onPressDelete && ( - - - - )} ) @@ -150,9 +152,13 @@ const styles = StyleSheet.create({ ...textStyle.body, color: theme.color.white, }, - editButtons: { + buttonsContainer: { flexDirection: 'row', - marginVertical: 30, - marginHorizontal: 48, + marginVertical: theme.margin.large, + marginHorizontal: theme.margin.common, + }, + buttonContainer: { + width: '50%', + alignItems: 'center', }, }) diff --git a/src/components/__tests__/__snapshots__/Lightbox.test.tsx.snap b/src/components/__tests__/__snapshots__/Lightbox.test.tsx.snap index e18f375..54fa24d 100644 --- a/src/components/__tests__/__snapshots__/Lightbox.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/Lightbox.test.tsx.snap @@ -1953,57 +1953,67 @@ exports[`Lightbox Rendering With a delete button 1`] = ` "paddingVertical": 8, } } - /> - - + + + + +