Skip to content

Commit

Permalink
front: convert rem to px
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 ba58b81 commit 306a6e2
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
align-items: center;
width: 100%;
.rolling-stock {
width: 3rem;
width: 48px;
overflow: hidden;
padding-bottom: 0.25rem;
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));
}
padding-bottom: 4px;
img {
height: 16px;
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;
height: 24px;
}
}
}

0 comments on commit 306a6e2

Please sign in to comment.