Fix tag layout
This commit is contained in:
@@ -5,6 +5,7 @@ div class="mb-8 h-entry border border-gray-200 m-2 p-4 bg-gray-50 hover:bg-gray-
|
||||
div class="grid gap-4 grid-flow-row grid-cols-4 grid-rows-1"
|
||||
-post.photos.each do |photo|
|
||||
img class="w-32 h-32 object-cover rounded" src=photo["value"]
|
||||
== render "shared/tags", tags: post.tags
|
||||
|
||||
div class="mb-8"
|
||||
p class="text-sm text-blue-400 dark:text-indigo-400"
|
||||
|
@@ -1,7 +1,7 @@
|
||||
- if tags.count > 0
|
||||
p class="mb-2"
|
||||
= "Tagged"
|
||||
div class="mb-2 grid grid-flow-col grid-rows-2 justify-end gap-x-1.5"
|
||||
div class="mb-2 justify-end gap-x-1.5"
|
||||
- tags.each do |post_tag|
|
||||
span
|
||||
a class="p-category rounded mr-1 u-url text-pink-400 hover:text-pink-600 dark:text-pink-400 dark:hover:text-pink-100 text-gray-600" href="/tagged/#{post_tag.slug}"
|
||||
|
Reference in New Issue
Block a user