Skip to content

Commit

Permalink
Merge pull request #85 from natcap/bugfix/37-hidden-search-query
Browse files Browse the repository at this point in the history
Update CSS so search results are not hidden
  • Loading branch information
dcdenu4 authored Sep 30, 2021
2 parents 7d31ff2 + 9aa73dd commit bb71ba7
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions map-viewer/src/Map.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,24 @@
height: 100%;
overflow-y: auto;
}
.accordion .card {
/* Allow for search dropdowns to appear over the next accordion and cards */
overflow: inherit;
}
.accordion-header {
background-color: #2f2f30;
color: #ffffff;
}
.scale-accordian {
overflow-y: visible;
}
.card {
border-radius: 0;
}
.accordion:last-of-type > .card:last-of-type {
/* see bug here: https://github.com/react-bootstrap/react-bootstrap/issues/4556 */
border-bottom: 1.5px solid rgba(0, 0, 0, 0.125);
}
.scale-options {
background-color: #2f2f30;
color: #ffffff;
Expand Down Expand Up @@ -153,12 +164,10 @@
font-family: 'Source Sans Pro', sans-serif;
font-size: 14px;
}
.suggestions-wrapper {
overflow: visible !important;
z-index: 1001 !important;
}

#geocoder-national .mapboxgl-ctrl-geocoder {
/*Mapbox sets z-index for geocoders at 1000, set first search bar to
* 1001 so it's results appear above the lower search bar
*/
z-index: 1001;
}

Expand Down

0 comments on commit bb71ba7

Please sign in to comment.