Skip to content

Commit

Permalink
I. #37 setting css to fix hidden search results
Browse files Browse the repository at this point in the history
  • Loading branch information
dcdenu4 committed Sep 29, 2021
1 parent 7d31ff2 commit 9aa73dd
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 9aa73dd

Please sign in to comment.