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