Commit 9d247a4e by Demid Merzlyakov

Reduce the height of Sun / Moon cells.

parent 3344cabd
...@@ -220,7 +220,7 @@ private extension MoonPhaseCell { ...@@ -220,7 +220,7 @@ private extension MoonPhaseCell {
make.bottom.equalToSuperview().inset(15) make.bottom.equalToSuperview().inset(15)
//TODO: Hide description label for now //TODO: Hide description label for now
// make.height.equalTo(290) // make.height.equalTo(290)
make.height.equalTo(270) make.height.equalTo(220)
} }
} }
......
...@@ -256,7 +256,7 @@ private extension SunPhaseCell { ...@@ -256,7 +256,7 @@ private extension SunPhaseCell {
make.top.equalTo(headingLabel.snp.bottom).offset(18) make.top.equalTo(headingLabel.snp.bottom).offset(18)
//TODO: Hide description label for now //TODO: Hide description label for now
// make.height.equalTo(212) // make.height.equalTo(212)
make.height.equalTo(180) make.height.equalTo(160)
} }
//Label //Label
...@@ -268,7 +268,9 @@ private extension SunPhaseCell { ...@@ -268,7 +268,9 @@ private extension SunPhaseCell {
infographicLabel.snp.makeConstraints { (make) in infographicLabel.snp.makeConstraints { (make) in
make.left.equalToSuperview().inset(18) make.left.equalToSuperview().inset(18)
make.top.equalToSuperview().inset(18) // make.top.equalToSuperview().inset(18)
make.top.equalToSuperview()
make.height.equalTo(0)
make.right.equalToSuperview().inset(18) make.right.equalToSuperview().inset(18)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment