From 9b0a118712b09b9459112d4e349cce87a4e10abb Mon Sep 17 00:00:00 2001 From: Ankush Banerjee Date: Sun, 16 Feb 2025 16:08:11 +0530 Subject: [PATCH 1/2] fix: multiple max-height --- .gitignore | 2 ++ .../src/views/AttachmentPreview/AttachmentPreview.styles.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 25cef1d906..8bd5c525a2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ node_modules .vscode .gitpod.yml + +/**/storybook-static/ \ No newline at end of file diff --git a/packages/react/src/views/AttachmentPreview/AttachmentPreview.styles.js b/packages/react/src/views/AttachmentPreview/AttachmentPreview.styles.js index 45f8cf455a..8df5e3c973 100644 --- a/packages/react/src/views/AttachmentPreview/AttachmentPreview.styles.js +++ b/packages/react/src/views/AttachmentPreview/AttachmentPreview.styles.js @@ -17,7 +17,7 @@ const getAttachmentPreviewStyles = () => { modalContent: css` overflow-y: auto; overflow-x: hidden; - max-height: 350px; + `, fileDescription: css` From 0e3bf270ecbf54080156fa1992d9b2da21711c21 Mon Sep 17 00:00:00 2001 From: Ankush Banerjee Date: Sun, 16 Feb 2025 16:12:30 +0530 Subject: [PATCH 2/2] . --- .../src/views/AttachmentPreview/AttachmentPreview.styles.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react/src/views/AttachmentPreview/AttachmentPreview.styles.js b/packages/react/src/views/AttachmentPreview/AttachmentPreview.styles.js index 8df5e3c973..26f40dd6fa 100644 --- a/packages/react/src/views/AttachmentPreview/AttachmentPreview.styles.js +++ b/packages/react/src/views/AttachmentPreview/AttachmentPreview.styles.js @@ -17,7 +17,6 @@ const getAttachmentPreviewStyles = () => { modalContent: css` overflow-y: auto; overflow-x: hidden; - `, fileDescription: css`