Merge pull request #793 from automatisch/issue-788
feat: take search bar out of scroll in add app connection
This commit is contained in:
@@ -18,6 +18,7 @@ import ListItemText from '@mui/material/ListItemText';
|
|||||||
import InputLabel from '@mui/material/InputLabel';
|
import InputLabel from '@mui/material/InputLabel';
|
||||||
import OutlinedInput from '@mui/material/OutlinedInput';
|
import OutlinedInput from '@mui/material/OutlinedInput';
|
||||||
import FormControl from '@mui/material/FormControl';
|
import FormControl from '@mui/material/FormControl';
|
||||||
|
import Box from '@mui/material/Box';
|
||||||
import type { IApp } from '@automatisch/types';
|
import type { IApp } from '@automatisch/types';
|
||||||
|
|
||||||
import * as URLS from 'config/urls';
|
import * as URLS from 'config/urls';
|
||||||
@@ -76,7 +77,7 @@ export default function AddNewAppConnection(
|
|||||||
<Dialog open={true} onClose={onClose} maxWidth="sm" fullWidth>
|
<Dialog open={true} onClose={onClose} maxWidth="sm" fullWidth>
|
||||||
<DialogTitle>{formatMessage('apps.addNewAppConnection')}</DialogTitle>
|
<DialogTitle>{formatMessage('apps.addNewAppConnection')}</DialogTitle>
|
||||||
|
|
||||||
<DialogContent>
|
<Box px={3}>
|
||||||
<FormControl
|
<FormControl
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
fullWidth
|
fullWidth
|
||||||
@@ -103,7 +104,9 @@ export default function AddNewAppConnection(
|
|||||||
data-test="search-for-app-text-field"
|
data-test="search-for-app-text-field"
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
</Box>
|
||||||
|
|
||||||
|
<DialogContent>
|
||||||
<List sx={{ pt: 2, width: '100%' }}>
|
<List sx={{ pt: 2, width: '100%' }}>
|
||||||
{loading && (
|
{loading && (
|
||||||
<CircularProgress sx={{ display: 'block', margin: '20px auto' }} />
|
<CircularProgress sx={{ display: 'block', margin: '20px auto' }} />
|
||||||
|
Reference in New Issue
Block a user