Skip to content

Commit

Permalink
fix: Zoom buttons & drawing tool aren't drawn nicely together (z-inde…
Browse files Browse the repository at this point in the history
…xes)
  • Loading branch information
billyc committed Dec 23, 2021
1 parent 3866379 commit 8b299ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/DrawingTool/DrawingTool.vue
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export default class VueComponent extends Vue {
left: 0;
width: 100%;
height: 100%;
z-index: 0;
z-index: 1;
}
.map {
Expand All @@ -284,7 +284,7 @@ export default class VueComponent extends Vue {
background-color: var(--bgPanel);
pointer-events: all;
padding: 0.5rem 1rem;
z-index: 10;
z-index: 0;
position: absolute;
top: 6px;
right: 31px;
Expand Down Expand Up @@ -322,7 +322,6 @@ export default class VueComponent extends Vue {
flex-direction: column;
top: 5.5rem;
right: 4px;
z-index: 15;
}
.buttons {
Expand Down
1 change: 1 addition & 0 deletions src/components/ZoomButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export default class VueComponent extends Vue {
.zoom-buttons {
margin-left: auto;
pointer-events: auto;
z-index: 2;
}
.button-single:last-child {
Expand Down

0 comments on commit 8b299ba

Please sign in to comment.