Commit cb44087 1 parent ed45fd3 commit cb44087 Copy full SHA for cb44087
File tree 2 files changed +19
-6
lines changed
modules/trainschedule/components/Timetable
styles/scss/applications/operationalStudies
2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -178,12 +178,14 @@ const TimetableTrainCard = ({
178
178
/>
179
179
</ div >
180
180
< div title = { train . trainName } className = "checkbox-label" >
181
- { projectionPathIsUsed && (
182
- < div className = "train-projected" >
183
- < Manchette iconColor = "var(--white100)" />
184
- </ div >
185
- ) }
186
- { train . trainName }
181
+ < div className = "train-info" >
182
+ { projectionPathIsUsed && (
183
+ < div className = "train-projected" >
184
+ < Manchette iconColor = "var(--white100)" />
185
+ </ div >
186
+ ) }
187
+ < span className = "train-name" > { train . trainName } </ span >
188
+ </ div >
187
189
</ div >
188
190
</ div >
189
191
< div className = "rolling-stock" >
Original file line number Diff line number Diff line change 368
368
background-color : var (--info30 );
369
369
border-radius : 4px ;
370
370
position : relative ;
371
+ flex-shrink : 0 ;
371
372
svg {
372
373
position : absolute ;
373
374
top : 0 ;
374
375
left : 0 ;
375
376
transform : translate (2px , 2px );
376
377
}
377
378
}
379
+ .train-info {
380
+ display : flex ;
381
+ align-items : center ;
382
+ min-width : 0 ;
383
+ }
384
+ .train-name {
385
+ overflow : hidden ;
386
+ text-overflow : ellipsis ;
387
+ white-space : nowrap ;
388
+ }
378
389
}
379
390
380
391
.scenario-timetable-toolbar {
You can’t perform that action at this time.
0 commit comments