u
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
// #region Imports
|
// #region Imports
|
||||||
import { Component, createRef } from 'react';
|
import { Component, createRef } from 'react';
|
||||||
import FillSpace from 'dashgui/FillSpace';
|
import FillSpace from 'dashgui/FillSpace';
|
||||||
|
import { PanelTile } from 'dashgui/panels';
|
||||||
import Box from '@mui/material/Box';
|
import Box from '@mui/material/Box';
|
||||||
import Button from '@mui/material/Button';
|
import Button from '@mui/material/Button';
|
||||||
import Chip from '@mui/material/Chip';
|
import Chip from '@mui/material/Chip';
|
||||||
@@ -664,26 +665,20 @@ class ArtikelSearchPage extends Component {
|
|||||||
<Typography color="text.secondary">Keine Artikel gefunden.</Typography>
|
<Typography color="text.secondary">Keine Artikel gefunden.</Typography>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Paper surface like /artikel/marken (PanelTile): the FillSpace
|
{/* Same tile pattern as /artikel/marken: the FillSpace pagination
|
||||||
pagination header + rows render on an elevated card. */}
|
header + rows render on a PanelTile surface. */}
|
||||||
<Paper
|
<PanelTile minHeight={0} sx={{ pb: 0 }}>
|
||||||
variant="outlined"
|
|
||||||
sx={{
|
|
||||||
bgcolor: 'background.paper',
|
|
||||||
overflow: 'hidden',
|
|
||||||
display: 'flex',
|
|
||||||
flexDirection: 'column',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<FillSpace
|
<FillSpace
|
||||||
ref={this.fillSpaceRef}
|
ref={this.fillSpaceRef}
|
||||||
aboveRef={[this.filterHeaderRef]}
|
aboveRef={[this.filterHeaderRef]}
|
||||||
items={rows}
|
items={rows}
|
||||||
renderItem={ResultRow}
|
renderItem={ResultRow}
|
||||||
|
reserveBottom={32}
|
||||||
minPageSize={8}
|
minPageSize={8}
|
||||||
|
minHeight={0}
|
||||||
sx={{ overflow: 'auto' }}
|
sx={{ overflow: 'auto' }}
|
||||||
/>
|
/>
|
||||||
</Paper>
|
</PanelTile>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user