Skip to content

Commit 0268080

Browse files
committed
Post Display View design improvement
1 parent 1ba34fb commit 0268080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DesignSystem/Sources/DesignSystem/Components/PostDisplayView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public struct PostDisplayView: View {
5151

5252
public var body: some View {
5353
VStack(alignment: .leading, spacing: 0) {
54-
HStack(alignment: .top, spacing: 12) {
54+
HStack(alignment: .center, spacing: 12) {
5555
// Thumbnail with proper loading
5656
ThumbnailView(url: post.url, isEnabled: showThumbnails)
5757
.frame(width: 55, height: 55)
@@ -67,7 +67,7 @@ public struct PostDisplayView: View {
6767
if let host = post.url.host,
6868
!isHackerNewsItemURL(post.url)
6969
{
70-
Text(truncatedHost(host))
70+
Text(truncatedHost(host).uppercased())
7171
.scaledFont(.caption)
7272
.foregroundColor(.secondary)
7373
.lineLimit(1)

0 commit comments

Comments
 (0)