Skip to content

Commit

Permalink
fix: fix tooltip overflow and vertical scrollbar in intake
Browse files Browse the repository at this point in the history
  • Loading branch information
sampov2 committed Dec 18, 2024
1 parent cab59b8 commit 9a1b244
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/app/connected/ConnectedIntakeComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react"
import { useDispatch, useSelector } from "react-redux"
import { Box } from '@chakra-ui/react'
import { RootState } from "../../store"
import { SelectedPointComponent } from "../../components/selectedPoint/SelectedPointComponent"
import { setName, setDepth } from "../slices/intake"
Expand All @@ -19,11 +18,11 @@ export const ConnectedIntakeComponent: React.FC = () => {
}

return (
<Box h="calc(68vh - 38px)" overflowY="auto">
<>
<SelectedPointComponent {...intakeProps} {...intakeCallbacks} distanceToFacility={distanceToFacility} />
{intakeTemperature.temperatureValues.length > 0
? <TemperatureComponent data={intakeTemperature} height={300} marker={intakeProps.depth || undefined}/>
: <></>}
</Box>
</>
)
}
1 change: 0 additions & 1 deletion src/processing/util/convertGraphDataToECharts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { functions } from "../../config/scenarios"
import { GraphData } from "../../types"

export const convertGraphDataToECharts = (data: GraphData): EChartOption => {
// const scenario = scenarios.find(s => s.id === data.scenarioId)
const funct = functions.find(f => f.id === data.functionId)

return {
Expand Down

0 comments on commit 9a1b244

Please sign in to comment.