Skip to content

Commit

Permalink
Map control layers (#7425)
Browse files Browse the repository at this point in the history
* change map z-index so layers browser menu is on top

* fix sidebar map-menu z-index layer bug

* tag test change to wiki page, not comments
  • Loading branch information
nstjean authored Feb 4, 2020
1 parent af017c2 commit da0c4f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ textarea, input {
.inline-fullwidth-content {
width:100vw !important;
margin:0 calc((100% / 2) - 50vw) !important;
z-index:0 !important;
/* z-index: 10 !important; */
}

@media (min-width: 992px) {
Expand All @@ -613,7 +613,7 @@ textarea, input {

.sidebar-panel {
background: rgba(255,255,255,0.8);
z-index: 9999;
z-index: 700;
border-radius: 4px;
padding: 10px;
}
Expand Down
9 changes: 4 additions & 5 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@
<style type="text/css">
.pac-container { z-index: 100000; }

.leaflet-control-layers {
#content .leaflet-pane {
z-index: auto;
}
#content .leaflet-control-layers {
max-height: 200px;
overflow: auto;
}
Expand All @@ -103,10 +106,6 @@
width: 800px !important;
}

.peoplecard{
height:250px;
}

</style>

<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/10.2.0/bootstrap-slider.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/system/post_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def setup
end

test 'removing tags from the post' do
visit '/wiki/wiki-page-path/comments'
visit '/wiki/wiki-page-path'

find('a#tags-open').click()

Expand Down

0 comments on commit da0c4f4

Please sign in to comment.