Adding a fullScreen option for our Dialog component.

This commit is contained in:
vdv committed 2022-12-15 18:46:58 +01:00
1 parent e90e71d151
commit d71399e296
3 files changed
+10 -8

No files matched your search

+7 -8
View File
@@ -1,11 +1,5 @@
import { useI18n } from '@solid-primitives/i18n';
import {
Box,
Button,
IconButton,
SvgIcon,
TextField,
} from '@suid/material';
import { Box, Button, IconButton, SvgIcon, TextField } from '@suid/material';
import { cloneDeep } from 'lodash';
import { Component, createSignal, Show } from 'solid-js';
import dispatch from '../../workers/dispatcher-main';
@@ -150,7 +144,12 @@ const GpxDialog: Component<{}> = (props) => {
</SvgIcon>
</IconButton>
</div>
<Dialog open={open()} title={t('gpxDialog')} closeHandler={handleClose}>
<Dialog
open={open()}
title={t('gpxDialog')}
closeHandler={handleClose}
fullScreen={true}
>
<Box
component='form'
sx={{