diff --git a/app/assets/stylesheets/space_table.css b/app/assets/stylesheets/space_table.css index 71e81177..18312c2f 100644 --- a/app/assets/stylesheets/space_table.css +++ b/app/assets/stylesheets/space_table.css @@ -18,13 +18,16 @@ body.view-as-table { /* Sticky left column */ thead tr th:first-child, tbody tr th:first-child { - @apply sticky left-0 z-4; + @apply md:sticky md:left-0 md:z-4; } - thead tr th:first-child::after { - @apply block absolute shadow-2xl left-0 right-0 top-0 h-screen md:h-screen-below-desktop-menu pointer-events-none; - content: ""; + @media (min-width: theme('screens.md')) { + thead tr th:first-child::after { + @apply block absolute shadow-2xl left-0 right-0 top-0 h-screen md:h-screen-below-desktop-menu pointer-events-none; + content: ""; + } } + tbody { @apply relative; th { @@ -36,6 +39,7 @@ body.view-as-table { } th, td { + @apply relative; > :first-child { @apply h-48 overflow-scroll block; } diff --git a/app/views/spaces/index.html.erb b/app/views/spaces/index.html.erb index 83ab0819..753d5d63 100644 --- a/app/views/spaces/index.html.erb +++ b/app/views/spaces/index.html.erb @@ -1,12 +1,16 @@
" > -
-
+
<%= render "spaces/index/map" %>
diff --git a/app/views/spaces/index/_filter_button.html.erb b/app/views/spaces/index/_filter_button.html.erb index 75a6d90b..a14cc4ed 100644 --- a/app/views/spaces/index/_filter_button.html.erb +++ b/app/views/spaces/index/_filter_button.html.erb @@ -1,4 +1,4 @@ -