From da0c4f4d0b23e2b8a48bd6bed4abefdbfaa7c413 Mon Sep 17 00:00:00 2001 From: Natalie St Jean <49460529+nstjean@users.noreply.github.com> Date: Tue, 4 Feb 2020 14:02:04 -0500 Subject: [PATCH] Map control layers (#7425) * 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 --- app/assets/stylesheets/style.css | 4 ++-- app/views/layouts/application.html.erb | 9 ++++----- test/system/post_test.rb | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/style.css b/app/assets/stylesheets/style.css index 1d64451d24..464944bbf0 100644 --- a/app/assets/stylesheets/style.css +++ b/app/assets/stylesheets/style.css @@ -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) { @@ -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; } diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 880baffcfe..a0ad8b3b60 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -90,7 +90,10 @@ diff --git a/test/system/post_test.rb b/test/system/post_test.rb index e78878f178..88936f7e21 100644 --- a/test/system/post_test.rb +++ b/test/system/post_test.rb @@ -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()