Skip to content

Commit 2508fa5

Browse files
committed
front: fix rolling stock livery display
Signed-off-by: Theo Macron <theo.macron0315@gmail.com>
1 parent 67a6cc9 commit 2508fa5

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

front/src/styles/scss/applications/operationalStudies/_managetrainschedule.scss

+8-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77
width: 3rem;
88
overflow: hidden;
99
padding-bottom: 0.25rem;
10-
img {
11-
height: 1rem;
12-
}
10+
img {
11+
height: 1rem;
12+
object-fit: cover;
13+
object-position: left;
14+
transform: scaleX(-1);
15+
mask-image: linear-gradient(90deg, black 80%, rgba(0, 0, 0, 0));
16+
-webkit-mask-image: linear-gradient(90deg, black 80%, rgba(0, 0, 0, 0));
17+
}
1318
}
1419
img {
1520
height: 1.5rem;

0 commit comments

Comments
 (0)