Rename, they're all wrapped now

This commit is contained in:
Jason Zimdars
2025-01-28 18:04:24 -06:00
parent 367a618064
commit 523b543244
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
padding-block-start: var(--block-space);
}
.event--cluster {
.event--wrapper {
align-content: end;
display: grid;
gap: var(--grid-lines);
+1 -1
View File
@@ -25,7 +25,7 @@ module EventsHelper
def event_cluster_tag(hour, col, &)
row = 25 - hour
tag.div class: "event--cluster", style: "grid-area: #{row}/#{col}", &
tag.div class: "event--wrapper", style: "grid-area: #{row}/#{col}", &
end
def event_next_page_link(next_day)
+2 -2
View File
@@ -8,7 +8,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest
test "index" do
get events_url
assert_select "div.event--cluster[style='grid-area: 9/1']" do
assert_select "div.event--wrapper[style='grid-area: 9/1']" do
assert_select "strong", text: "Layout is broken"
end
end
@@ -18,7 +18,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest
get events_url
assert_select "div.event--cluster[style='grid-area: 14/1']" do
assert_select "div.event--wrapper[style='grid-area: 14/1']" do
assert_select "strong", text: "Layout is broken"
end
end