mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 04:04:27 +08: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',
|
['data-testid' as string]: 'setting-modal',
|
||||||
style: {
|
style: {
|
||||||
maxHeight: '85vh',
|
maxHeight: '85vh',
|
||||||
maxWidth: '70vw',
|
maxWidth: 'calc(100dvw - 100px)',
|
||||||
padding: 0,
|
padding: 0,
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
|||||||
Reference in New Issue
Block a user