mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
fix(core): setting modal max-width (#12494)
fix AF-2670 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated the maximum width of the settings modal for improved adaptability across different screen sizes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -277,7 +277,7 @@ export const SettingDialog = ({
|
||||
['data-testid' as string]: 'setting-modal',
|
||||
style: {
|
||||
maxHeight: '85vh',
|
||||
maxWidth: '70vw',
|
||||
maxWidth: 'calc(100dvw - 100px)',
|
||||
padding: 0,
|
||||
overflow: 'hidden',
|
||||
display: 'flex',
|
||||
|
||||
Reference in New Issue
Block a user