From 8f8deb92756435d1d2b013a1341756e03b4f812a Mon Sep 17 00:00:00 2001 From: suyao Date: Tue, 17 Jun 2025 13:46:18 +0800 Subject: [PATCH] fix: enhance MessageSettingsPopup styles for better usability - Added max height and overflow styles to the body of the MessageSettingsPopup to improve content visibility and scrolling behavior. --- src/renderer/src/components/Popups/MessageSettingsPopup.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/components/Popups/MessageSettingsPopup.tsx b/src/renderer/src/components/Popups/MessageSettingsPopup.tsx index bedad8eccd..dbf4c300fe 100644 --- a/src/renderer/src/components/Popups/MessageSettingsPopup.tsx +++ b/src/renderer/src/components/Popups/MessageSettingsPopup.tsx @@ -115,7 +115,8 @@ const PopupContainer: React.FC = ({ title, resolve }) => { afterClose={onClose} transitionName="animation-move-down" footer={null} - centered> + centered + styles={{ body: { maxHeight: '70vh', overflowY: 'auto' } }}> {t('settings.messages.divider')}