Skip to content

Commit

Permalink
Merge Allow selection on whole map (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
danjov authored Jul 29, 2022
2 parents c06fabd + c205378 commit aedd2b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClientApp/src/components/ZoomToLatestControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ZoomToLatest extends Control {
button.setAttribute("title", "Extent aktuelle Suche");

const element = document.createElement("div");
element.className = "ol-unselectable ol-control";
element.className = "ol-unselectable ol-control ol-zoom-to-latest";
element.appendChild(button);

super({
Expand Down
5 changes: 5 additions & 0 deletions src/ClientApp/src/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
position: sticky;
padding-left: 10px;
background-color: transparent;
width: 10px;
}

.ol-control button {
Expand All @@ -24,6 +25,10 @@
background-color: transparent;
}

.ol-zoom-to-latest {
left: 0.5em;
}

.MuiSvgIcon-root {
width: 10px;
}

0 comments on commit aedd2b6

Please sign in to comment.