Tweak events and dates

This commit is contained in:
Jason Zimdars
2025-03-20 13:54:54 -05:00
parent 9a23a7470e
commit 1802a6391a
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -26,6 +26,7 @@
flex-direction: column;
flex: 1 0 20%;
gap: 1lh;
margin-block-start: 0.8em;
}
.comment {
@@ -123,6 +124,5 @@
font-size: 0.8em;
font-weight: 500;
gap: 0.5ch;
opacity: 0.7;
text-align: start;
}
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="comment__content flex-inline flex-column full-width">
<div class="comment__author flex align-center gap-half">
<strong><%= link_to comment.creator.name, user_path(comment.creator), class: "txt-ink btn btn--plain fill-transparent", data: { turbo_frame: "_top" } %></strong>
<%= link_to bucket_bubble_path(comment.bubble.bucket, comment.bubble, anchor: "comment_#{comment.id}"), class: "txt-undecorated" do %>
<%= link_to bucket_bubble_path(comment.bubble.bucket, comment.bubble, anchor: "comment_#{comment.id}"), class: "txt-undecorated txt-uppercase" do %>
<%= local_datetime_tag comment.created_at, style: :shortdate, class: "comment__timestamp" %>
<% end %>
@@ -1,6 +1,7 @@
<% unless event_summary.body.blank? %>
<div class="event-summary flex flex-column justify-start txt-tight-lines">
<strong><%= local_datetime_tag event_summary.created_at, style: :shortdate %></strong>
<strong class="txt-uppercase"><%= local_datetime_tag event_summary.created_at, style: :shortdate %></strong>
<hr class="separator--horizontal margin-none full-width" style="--border-color: var(--color-subtle-dark);">
<div class="flex flex-wrap" data-controller="event-summary">
<%= event_summary.body %>
</div>