Skip to content

Commit

Permalink
Update ArchiveLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoonahn committed Dec 4, 2023
1 parent 0c3f87f commit ea8f44e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Layouts/ArchiveLayout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ struct ArchiveLayout: Component {
Image(item.metadata.postImage)
.class("m-0")
}
.class("my-auto border border-gray-200 rounded-lg md:rounded-2xl overflow-hidden self-start w-[130px] md:w-[265px]")
.class("my-auto border border-gray-200 rounded-lg md:rounded-2xl overflow-hidden self-start w-[30%] md:w-[350px]")
Div {
Paragraph(item.tags.map{ $0.string }.joined(separator: ","))
.class("text-blog-c-tag-text text-xs md:text-sm text-black m-0")
.class("text-blog-c-tag-text text-xs md:text-sm text-black m-0 break-all")
H3(item.title)
.class("text-black text-base md:text-heading-3 mb-2 mt-2")
.class("text-black text-base md:text-heading-3 mb-2 mt-2 break-all")
Time(DateFormatter.time.string(from: item.date))
.class("text-sm md:text-base font-light text-blog-c-time-text")
}
Expand Down

0 comments on commit ea8f44e

Please sign in to comment.