Skip to content

Commit

Permalink
Fix y position of edit controls for small screens #160
Browse files Browse the repository at this point in the history
**Why?** On small screens - and the default farmOS layout - the
  controls often overlap or even go off the bottom of the map
  making them hard to use or completely inaccessible.
  • Loading branch information
symbioquine committed Apr 7, 2022
1 parent 16a9bb3 commit 3eacb5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Update openlayers to version 6.14.1.

### Fixed

- Fix y position of edit controls for small screens.

## [v2.0.3] - 2021-12-08

### Fixed
Expand Down
1 change: 0 additions & 1 deletion src/control/Edit/Edit.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.ol-edit.ol-control {
top: 8em;
left: 0.5em;
}

Expand Down
2 changes: 1 addition & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
}

.ol-edit.ol-control {
top: 5.5em;
top: 4.75em;
}

.ol-rotate.ol-control {
Expand Down

0 comments on commit 3eacb5c

Please sign in to comment.