aboutsummaryrefslogtreecommitdiff
path: root/foray/ForayNewDetailView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'foray/ForayNewDetailView.swift')
-rw-r--r--foray/ForayNewDetailView.swift5
1 files changed, 3 insertions, 2 deletions
diff --git a/foray/ForayNewDetailView.swift b/foray/ForayNewDetailView.swift
index e7d7dbf..e8e2262 100644
--- a/foray/ForayNewDetailView.swift
+++ b/foray/ForayNewDetailView.swift
@@ -28,6 +28,7 @@ class ForayNewDetailView: UIView {
let l = UILabel()
l.font = UIFont.preferredFont(forTextStyle: .body)
l.adjustsFontForContentSizeCategory = true
+ l.numberOfLines = 10
return l
}()
@@ -53,12 +54,12 @@ class ForayNewDetailView: UIView {
make.leading.trailing.equalToSuperview().inset(8)
}
itemImageView.snp.makeConstraints { (make) in
- make.top.equalTo(nameLabel.snp.bottom).offset(8)
+ make.top.equalTo(nameLabel.snp.bottom).offset(32)
make.leading.trailing.equalToSuperview()
make.height.equalTo(150)
}
descLabel.snp.makeConstraints { (make) in
- make.top.equalTo(itemImageView.snp.bottom).offset(8)
+ make.top.equalTo(itemImageView.snp.bottom).offset(32)
make.leading.trailing.equalToSuperview()
}
}