mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-20 11:03:06 +02:00
disable fullscreen from settings modal
This commit is contained in:
@@ -2,8 +2,20 @@ import { openContextModal } from '@mantine/modals';
|
|||||||
|
|
||||||
export const openSettingsModal = () => {
|
export const openSettingsModal = () => {
|
||||||
openContextModal({
|
openContextModal({
|
||||||
fullScreen: true,
|
|
||||||
innerProps: {},
|
innerProps: {},
|
||||||
modalKey: 'settings',
|
modalKey: 'settings',
|
||||||
|
overlayProps: {
|
||||||
|
opacity: 1,
|
||||||
|
},
|
||||||
|
size: 'xl',
|
||||||
|
styles: {
|
||||||
|
content: {
|
||||||
|
height: 'calc(100vh - 400px)',
|
||||||
|
minHeight: '540px',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
transitionProps: {
|
||||||
|
transition: 'pop',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user