Skip to content

Commit bcba0dc

Browse files
committed
fixed overview width glitch
1 parent 242bcfa commit bcba0dc

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/src/features/summary/tabular-data/TabularDataTableContainer.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,14 @@ export const TabularDataTableContainer = () => {
6666

6767
<Divider flexItem orientation="vertical" />
6868

69-
<Box flex="1 1 auto" overflow="hidden">
69+
<Box
70+
sx={{
71+
flex: '1 1 0',
72+
minWidth: 0,
73+
height: '800px',
74+
minHeight: '400px',
75+
overflow: 'hidden'
76+
}}>
7077
{activeView === ACTIVE_VIEW_VALUE.observations && <ObservationsListContainer showSearch={showSearch} />}
7178
{activeView === ACTIVE_VIEW_VALUE.animals && <AnimalsListContainer showSearch={showSearch} />}
7279
{activeView === ACTIVE_VIEW_VALUE.telemetry && <TelemetryListContainer showSearch={showSearch} />}

app/src/features/summary/tabular-data/observation/ObservationsListContainer.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { mdiArrowTopRight } from '@mdi/js';
21
import Box from '@mui/material/Box';
32
import Collapse from '@mui/material/Collapse';
43
import grey from '@mui/material/colors/grey';
@@ -263,7 +262,6 @@ const ObservationsListContainer = (props: IObservationsListContainerProps) => {
263262
height="500px"
264263
title="Create or Join Surveys to See Observations"
265264
subtitle="You currently have no observations data. Once you create or join surveys with observations data, it will be displayed here"
266-
icon={mdiArrowTopRight}
267265
/>
268266
}
269267
hasNoDataFallbackDelay={100}>

0 commit comments

Comments
 (0)