From f99775994a49e6f65f5d20b00324e7d27d6ad391 Mon Sep 17 00:00:00 2001 From: Evgenii Burmakin Date: Mon, 9 Jun 2025 11:20:44 +0200 Subject: [PATCH] Revert "fix map container height to fit viewport" --- app/assets/stylesheets/application.tailwind.css | 5 ----- app/views/map/index.html.erb | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/assets/stylesheets/application.tailwind.css b/app/assets/stylesheets/application.tailwind.css index 0e5c519d..257a1910 100644 --- a/app/assets/stylesheets/application.tailwind.css +++ b/app/assets/stylesheets/application.tailwind.css @@ -103,8 +103,3 @@ margin-bottom: 1rem; width: 100%; } - -.map-container-full-height { - /* 100vh - navbar height - footer height */ - height: calc(100vh - 165px - 120px); -} diff --git a/app/views/map/index.html.erb b/app/views/map/index.html.erb index 53457526..011bf06a 100644 --- a/app/views/map/index.html.erb +++ b/app/views/map/index.html.erb @@ -72,7 +72,7 @@ data-distance="<%= @distance %>" data-points_number="<%= @points_number %>" data-timezone="<%= Rails.configuration.time_zone %>"> -
+