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.
This commit is contained in:
suyao 2025-06-17 13:46:18 +08:00
parent 0a7e591f0e
commit 8f8deb9275
No known key found for this signature in database

View File

@ -115,7 +115,8 @@ const PopupContainer: React.FC<Props> = ({ title, resolve }) => {
afterClose={onClose}
transitionName="animation-move-down"
footer={null}
centered>
centered
styles={{ body: { maxHeight: '70vh', overflowY: 'auto' } }}>
<SettingGroup>
<SettingRow>
<SettingRowTitleSmall>{t('settings.messages.divider')}</SettingRowTitleSmall>