mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-13 20:10:07 +02:00
disable fullscreen from settings modal
This commit is contained in:
@@ -2,8 +2,20 @@ import { openContextModal } from '@mantine/modals';
|
||||
|
||||
export const openSettingsModal = () => {
|
||||
openContextModal({
|
||||
fullScreen: true,
|
||||
innerProps: {},
|
||||
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