Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment Detail: Add UI for the delete button #17286

Merged
merged 4 commits into from
Oct 8, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix minor comment typo
dvdchr committed Oct 8, 2021
commit 718ac063da29c3e59b46b633c6fabb1cf234706a
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ class CommentDetailViewController: UITableViewController {
button.titleLabel?.textAlignment = .center
button.titleLabel?.numberOfLines = 0

// add constraints for the title label for the button to contain the label properly in multi-line cases.
// add constraints to the title label, so the button can contain it properly in multi-line cases.
if let label = button.titleLabel {
button.pinSubviewToAllEdgeMargins(label)
}