diff --git a/app/assets/stylesheets/pages/_childcares-index.scss b/app/assets/stylesheets/pages/_childcares-index.scss index df39a22..00a4e94 100644 --- a/app/assets/stylesheets/pages/_childcares-index.scss +++ b/app/assets/stylesheets/pages/_childcares-index.scss @@ -1,6 +1,12 @@ .childcares-index-container { margin-top: 30px; } +#map { + width: 100%; + height: 100vh; + position: sticky; + top: 0; +} // body { // background-color: #FAEEE7; diff --git a/app/assets/stylesheets/pages/_show.scss b/app/assets/stylesheets/pages/_show.scss index bddef2a..003817b 100644 --- a/app/assets/stylesheets/pages/_show.scss +++ b/app/assets/stylesheets/pages/_show.scss @@ -9,7 +9,6 @@ } .map-container { - width: 500px; height: 500px; border-radius: 20px; } diff --git a/app/views/childcares/index.html.erb b/app/views/childcares/index.html.erb index 08128e5..32e0527 100644 --- a/app/views/childcares/index.html.erb +++ b/app/views/childcares/index.html.erb @@ -5,7 +5,7 @@ <% end %> -