Use a class

This commit is contained in:
Jason Zimdars
2025-01-28 18:09:34 -06:00
parent b3c7f553b4
commit 408bb79a4e
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -46,6 +46,11 @@
z-index: 1;
}
.event__timestamp {
display: grid;
align-self: start;
}
.event__wrapper {
align-content: end;
display: grid;
@@ -58,9 +63,4 @@
grid-column-start: unset !important;
grid-row-start: unset !important;
}
time {
display: grid;
align-self: start;
}
}
+1 -1
View File
@@ -12,7 +12,7 @@
<%= event_cluster_tag(*hour_column) do %>
<%= render cluster %>
<time class="txt-small translucent" data-local-time-target="time" datetime="<%= cluster.first.created_at.strftime("%H:%M") %>">
<time class="event__timestamp txt-small translucent" data-local-time-target="time" datetime="<%= cluster.first.created_at.strftime("%H:%M") %>">
<%= cluster.first.created_at.strftime("%l:%M %P").strip %>
</time>
<% end %>