From f0299cb71d5e3c36bda689c59dec29949a3b687d Mon Sep 17 00:00:00 2001 From: Khushal Agarwal Date: Fri, 9 Aug 2024 16:03:57 +0530 Subject: [PATCH] fix: attachment picker error component default height --- .../AttachmentPicker/components/AttachmentPickerError.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx b/package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx index f47a11cba9..3e3f9beabe 100644 --- a/package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx +++ b/package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx @@ -16,8 +16,8 @@ const styles = StyleSheet.create({ errorContainer: { alignItems: 'center', bottom: 0, + justifyContent: 'center', left: 0, - paddingTop: 16, position: 'absolute', right: 0, }, @@ -70,7 +70,7 @@ export const AttachmentPickerError = (props: AttachmentPickerErrorProps) => { styles.errorContainer, { backgroundColor: white_smoke, - height: attachmentPickerBottomSheetHeight ?? 308, + height: attachmentPickerBottomSheetHeight, }, errorContainer, ]}