Skip to content

Commit 125fc00

Browse files
authored
Merge pull request #5937 from thornbill/activity-table-size
Limit activity table to screen size
2 parents 979c4b4 + 222527e commit 125fc00

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/apps/dashboard/routes/activity.tsx

+9-5
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,14 @@ const Activity = () => {
223223
title={globalize.translate('HeaderActivity')}
224224
className='mainAnimatedPage type-interior'
225225
>
226-
<div className='content-primary'>
226+
<Box
227+
className='content-primary'
228+
sx={{
229+
display: 'flex',
230+
flexDirection: 'column',
231+
height: '100%'
232+
}}
233+
>
227234
<Box
228235
sx={{
229236
display: 'flex',
@@ -262,11 +269,8 @@ const Activity = () => {
262269
rowCount={rowCount}
263270
getRowId={getRowId}
264271
loading={isLoading}
265-
sx={{
266-
minHeight: 500
267-
}}
268272
/>
269-
</div>
273+
</Box>
270274
</Page>
271275
);
272276
};

0 commit comments

Comments
 (0)