Skip to content

Commit

Permalink
Merge pull request #2256 from ianguerin/bugfix-2207-toolbar-blocks-cl…
Browse files Browse the repository at this point in the history
…icks

Disable pointer events on transparent toolbar blocking Cesium map
  • Loading branch information
robyngit authored Jan 31, 2024
2 parents 58b4a3e + a9f755f commit 424dfce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/css/map-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@
width: min-content;
/* required to be placed above map widget in firefox: */
z-index: 1;
pointer-events: none;
}

/* On large screens, the toolbar should not overlap the map, it should squish it */
Expand Down Expand Up @@ -385,6 +386,7 @@ represents 1 unit of the given distance measurement. */
background-color: var(--map-col-bkg);
border-radius: var(--map-border-radius);
margin: var(--map-size-toolbar-inter-link-margin);
pointer-events: all;
}

.toolbar__all-content {
Expand All @@ -398,6 +400,7 @@ represents 1 unit of the given distance measurement. */
toolbar is closed */
display: none;
overflow: hidden;
pointer-events: all;
}

.toolbar--open .toolbar__all-content {
Expand Down

0 comments on commit 424dfce

Please sign in to comment.