mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
MetricsTable anchor more to bottom of component
This commit is contained in:
parent
81dea02379
commit
1b54ba3e6e
1 changed files with 16 additions and 12 deletions
|
|
@ -73,11 +73,13 @@ export function MetricsTable({
|
||||||
isFetching={isFetching}
|
isFetching={isFetching}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
error={error}
|
error={error}
|
||||||
minHeight="380px"
|
minHeight="400px"
|
||||||
>
|
>
|
||||||
{data && <ListTable {...props} data={filteredData} renderLabel={renderLabel} />}
|
<div style={{ display: 'grid', gridTemplateRows: '1fr auto', minHeight: '400px' }}>
|
||||||
|
<div>{data && <ListTable {...props} data={filteredData} renderLabel={renderLabel} />}</div>
|
||||||
|
<div>
|
||||||
{showMore && limit && (
|
{showMore && limit && (
|
||||||
<Row justifyContent="center">
|
<Row justifyContent="center" alignItems="flex-end">
|
||||||
<LinkButton href={updateParams({ view: type })} variant="quiet">
|
<LinkButton href={updateParams({ view: type })} variant="quiet">
|
||||||
<Icon size="sm">
|
<Icon size="sm">
|
||||||
<Maximize />
|
<Maximize />
|
||||||
|
|
@ -86,6 +88,8 @@ export function MetricsTable({
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
</Row>
|
</Row>
|
||||||
)}
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</LoadingPanel>
|
</LoadingPanel>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue