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 %> -
diff --git a/app/views/childcares/show.html.erb b/app/views/childcares/show.html.erb index 7b2a074..a4dc7d3 100644 --- a/app/views/childcares/show.html.erb +++ b/app/views/childcares/show.html.erb @@ -8,22 +8,25 @@ <%= render 'shared/show_photo_banner'%> -
-
+
+
+ +
-
-

Opening Hours

-
    - <% @childcare.opening_hours.each do |time| %> -
  • <%= time.time %>
  • - <% end %> -
-
+
+

Opening Hours

+
    + <% @childcare.opening_hours.each do |time| %> +
  • <%= time.time %>
  • + <% end %> +
+
+