Commit 7d9937f 1 parent a64f77b commit 7d9937f Copy full SHA for 7d9937f
File tree 1 file changed +3
-2
lines changed
front/src/modules/simulationResult/components/ManchetteWithSpaceTimeChart
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ type ManchetteWithSpaceTimeChartProps = {
47
47
} ;
48
48
49
49
export const MANCHETTE_WITH_SPACE_TIME_CHART_DEFAULT_HEIGHT = 561 ;
50
+ const BOTTOM_TOOLBAR_HEIGHT = 40 ;
50
51
51
52
const ManchetteWithSpaceTimeChartWrapper = ( {
52
53
operationalPoints,
@@ -232,14 +233,14 @@ const ManchetteWithSpaceTimeChartWrapper = ({
232
233
style = { { height } }
233
234
onScroll = { handleScroll }
234
235
>
235
- < Manchette { ...manchettePropsWithWaypointMenu } height = { height } />
236
+ < Manchette { ...manchettePropsWithWaypointMenu } height = { height - BOTTOM_TOOLBAR_HEIGHT } />
236
237
< div
237
238
className = "space-time-chart-container"
238
239
style = { {
239
240
bottom : 0 ,
240
241
left : 0 ,
241
242
top : 2 ,
242
- height : height - 6 ,
243
+ height : height - 8 ,
243
244
} }
244
245
>
245
246
< div className = "toolbar" >
You can’t perform that action at this time.
0 commit comments