Skip to content

Commit 478fa73

Browse files
authored
fix: more comment input nits (#535)
1 parent b451fe0 commit 478fa73

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Splajompy/Comments/CommentInputView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ struct CommentInputView: View {
5151
viewModel.imageSelection = nil
5252
}
5353
)
54+
.disabled(viewModel.isSubmitting)
5455
}
5556
}
5657
.scrollIndicators(.hidden)

Splajompy/Comments/CommentsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ struct CommentRow: View {
243243

244244
if let images = comment.images {
245245
ImageGallery(images: images)
246-
.frame(maxHeight: 300)
246+
.frame(maxWidth: .infinity, maxHeight: 300, alignment: .leading)
247247
}
248248

249249
Text(comment.richContent)

0 commit comments

Comments
 (0)