trip styling
This commit is contained in:
@@ -12,6 +12,7 @@ module Adamantium
|
||||
trips
|
||||
.combine(:posts)
|
||||
.order(:start_date)
|
||||
.reverse
|
||||
.to_a
|
||||
end
|
||||
end
|
||||
|
@@ -16,7 +16,7 @@ div class="mb-4 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:t
|
||||
= trip.subtitle
|
||||
td
|
||||
= "#{trip.posts.count} entries"
|
||||
td class="text-right text-gray-400 dark:text-gray-600"
|
||||
td class="text-right text-gray-400 dark:text-gray-600 break-normal"
|
||||
= "#{trip.start_date.strftime("%m %b")}"
|
||||
== " → "
|
||||
= "#{trip.end_date.strftime("%m %b")}"
|
||||
|
Reference in New Issue
Block a user