Skip to content

Commit e96488b

Browse files
committed
maxheight 2
1 parent 1804566 commit e96488b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front/src/applications/osrd/views/OSRDSimulation/OSRDSimulation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function OSRDSimulation() {
211211
<CenterLoader message={t('simulation:waiting')} />
212212
);
213213

214-
const mapMaxHeight = timeTableRef?.current?.clientHeight - 42;
214+
const mapMaxHeight = getMapMaxHeight(timeTableRef);
215215
return (
216216
<main className={`mastcontainer ${fullscreen ? ' fullscreen' : ''}`}>
217217
{!simulation || simulation.trains.length === 0 ? (

0 commit comments

Comments
 (0)