Fix layout constraint issue
This commit is contained in:
parent
d7e983a217
commit
9dc130eeaf
|
@ -334,7 +334,7 @@ public final class StatusCardControl: UIControl {
|
||||||
.constraint(lessThanOrEqualToConstant: 400),
|
.constraint(lessThanOrEqualToConstant: 400),
|
||||||
]
|
]
|
||||||
dividerConstraint = dividerView.heightAnchor.constraint(equalToConstant: pixelSize).activate()
|
dividerConstraint = dividerView.heightAnchor.constraint(equalToConstant: pixelSize).activate()
|
||||||
authorDividerConstraint = authorDivider.heightAnchor.constraint(equalToConstant: pixelSize).activate()
|
authorDividerConstraint = authorDivider.heightAnchor.constraint(equalToConstant: pixelSize).priority(.defaultLow - 1).activate()
|
||||||
case .compact:
|
case .compact:
|
||||||
containerStackView.alignment = .center
|
containerStackView.alignment = .center
|
||||||
containerStackView.axis = .horizontal
|
containerStackView.axis = .horizontal
|
||||||
|
|
Loading…
Reference in New Issue