Skip to content

Commit

Permalink
Use relative position instead of svg transform
Browse files Browse the repository at this point in the history
  • Loading branch information
mmd-osm committed Oct 27, 2024
1 parent 6459223 commit efe3657
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -952,20 +952,26 @@ img.trace_image {
margin-left: -25px;
width: 25px;
height: 18px;
position: relative;
}

.default {
/*rtl:ignore*/ transform: translate(2px, 0px);
/*rtl:ignore*/ top: 0px;
/*rtl:ignore*/ left: 2px;
}

.amenity_waste_basket,
.man_made_cross {
/*rtl:ignore*/ transform: scale(1.5) translate(6px, 4px);
transform: scale(1.5);
/*rtl:ignore*/ top: 6px;
/*rtl:ignore*/ left: 10px;
}

.natural_saddle,
.natural_peak {
/*rtl:ignore*/ transform: scale(1.5) translate(6px, 2px);
transform: scale(1.5);
/*rtl:ignore*/ top: 6px;
/*rtl:ignore*/ left: 9px;
}

.airtransport {
Expand Down

0 comments on commit efe3657

Please sign in to comment.