diff options
Diffstat (limited to '')
-rw-r--r-- | foray/ForayDetailViewController.swift | 1 | ||||
-rw-r--r-- | foray/ForayNewTableViewCell.swift | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/foray/ForayDetailViewController.swift b/foray/ForayDetailViewController.swift index 1382d24..f87e4b0 100644 --- a/foray/ForayDetailViewController.swift +++ b/foray/ForayDetailViewController.swift @@ -82,6 +82,7 @@ class ForayDetailViewController: UIViewController, ForayCoordinated { descLabel.snp.makeConstraints { (make) in make.top.equalTo(itemImageView.snp.bottom).offset(32) make.leading.trailing.equalToSuperview() + make.bottom.equalTo(container.snp.bottom).inset(16) } } diff --git a/foray/ForayNewTableViewCell.swift b/foray/ForayNewTableViewCell.swift index 26619cc..224709a 100644 --- a/foray/ForayNewTableViewCell.swift +++ b/foray/ForayNewTableViewCell.swift @@ -15,6 +15,7 @@ class ForayNewTableViewCell: UITableViewCell { let nameLabel: UILabel = { let l = UILabel() l.font = UIFont.preferredFont(forTextStyle: .headline) + l.numberOfLines = 3 l.adjustsFontForContentSizeCategory = true return l }() @@ -54,8 +55,8 @@ class ForayNewTableViewCell: UITableViewCell { make.edges.equalTo(contentView.snp.margins) } - let imageWidth = 68 - let imageHeight = 44 + let imageWidth = 64 + let imageHeight = 38 nameLabel.snp.makeConstraints { (make) in make.top.equalToSuperview() make.leading.equalToSuperview() |