Skip to content

Commit

Permalink
front: fix rolling stock livery display
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Macron <theo.macron0315@gmail.com>
  • Loading branch information
Akctarus committed Nov 18, 2024
1 parent a4daa6d commit ba58b81
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
width: 3rem;
overflow: hidden;
padding-bottom: 0.25rem;
img {
height: 1rem;
}
img {
height: 1rem;
object-fit: cover;
object-position: left;
transform: scaleX(-1);
mask-image: linear-gradient(90deg, black 80%, rgba(0, 0, 0, 0));
-webkit-mask-image: linear-gradient(90deg, black 80%, rgba(0, 0, 0, 0));
}
}
img {
height: 1.5rem;
Expand Down

0 comments on commit ba58b81

Please sign in to comment.