diff --git a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowHeaderView.swift b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowHeaderView.swift index 98cea12f..19438d3a 100644 --- a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowHeaderView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowHeaderView.swift @@ -47,6 +47,7 @@ struct StatusRowHeaderView: View { Group { EmojiTextApp(viewModel.finalStatus.account.cachedDisplayName, emojis: viewModel.finalStatus.account.emojis) + .fixedSize(horizontal: false, vertical: true) .font(.scaledSubheadline) .foregroundColor(theme.labelColor) .emojiText.size(Font.scaledSubheadlineFont.emojiSize) @@ -59,6 +60,7 @@ struct StatusRowHeaderView: View { if !redactionReasons.contains(.placeholder) { accountBadgeView + .fixedSize(horizontal: false, vertical: true) .font(.footnote) } } @@ -69,6 +71,7 @@ struct StatusRowHeaderView: View { theme.avatarPosition == .top { Text("@\(theme.displayFullUsername ? viewModel.finalStatus.account.acct : viewModel.finalStatus.account.username)") + .fixedSize(horizontal: false, vertical: true) .font(.scaledFootnote) .foregroundStyle(.secondary) .lineLimit(1) @@ -96,6 +99,7 @@ struct StatusRowHeaderView: View { Text(" βΈ± ") + Text(viewModel.finalStatus.createdAt.relativeFormatted) } + .fixedSize(horizontal: false, vertical: true) .font(.scaledFootnote) .foregroundStyle(.secondary) .lineLimit(1) diff --git a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowTextView.swift b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowTextView.swift index 624bcd40..5ffbeeba 100644 --- a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowTextView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowTextView.swift @@ -19,6 +19,7 @@ struct StatusRowTextView: View { emojis: viewModel.finalStatus.emojis, language: viewModel.finalStatus.language, lineLimit: viewModel.lineLimit) + .fixedSize(horizontal: false, vertical: true) .font(isFocused ? .scaledBodyFocused : .scaledBody) .lineSpacing(CGFloat(theme.lineSpacing)) .foregroundColor(viewModel.textDisabled ? .gray : theme.labelColor)