Skip to content

Commit

Permalink
[FE-15599] Ruler style adjustments (#691)
Browse files Browse the repository at this point in the history
* Update styles to align button with zoom controls

* Include charting dist
  • Loading branch information
johallar authored Jan 27, 2025
1 parent 703ef1a commit 4d2fa97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
7 changes: 2 additions & 5 deletions dist/charting.css
Original file line number Diff line number Diff line change
Expand Up @@ -1732,11 +1732,8 @@ body {
border: 1px solid #e2e2e2; }
.mapboxgl-ctrl-group.mapbox-ctrl-ruler {
bottom: 86px; }
.mapboxgl-ctrl-group.mapbox-ctrl-ruler button {
width: 28px;
height: 28px; }
.mapboxgl-ctrl-group.mapbox-ctrl-ruler button svg {
margin-top: 3px; }
.mapboxgl-ctrl-group.mapbox-ctrl-ruler button svg {
margin-top: 3px; }

.mapboxgl-ctrl-compass {
display: none !important; }
Expand Down
8 changes: 3 additions & 5 deletions scss/chart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2146,11 +2146,9 @@ body {
// Just above the zoom controls, below the zoom to filters overlay
bottom: 86px;
button {
width: 28px;
height: 28px;
svg {
margin-top: 3px;
}
svg {
margin-top: 3px;
}
}
}
}
Expand Down

0 comments on commit 4d2fa97

Please sign in to comment.