Fix sizing of userView in search history
This commit is contained in:
parent
3b87916d9a
commit
d933f2d0cb
|
@ -51,7 +51,7 @@ extension SearchHistoryUserCollectionViewCell {
|
||||||
NSLayoutConstraint.activate([
|
NSLayoutConstraint.activate([
|
||||||
userView.topAnchor.constraint(equalTo: contentView.topAnchor),
|
userView.topAnchor.constraint(equalTo: contentView.topAnchor),
|
||||||
userView.leadingAnchor.constraint(equalTo: contentView.leadingAnchor, constant: 16),
|
userView.leadingAnchor.constraint(equalTo: contentView.leadingAnchor, constant: 16),
|
||||||
userView.trailingAnchor.constraint(equalTo: contentView.trailingAnchor, constant: 16),
|
contentView.trailingAnchor.constraint(equalTo: userView.trailingAnchor, constant: 16),
|
||||||
userView.bottomAnchor.constraint(equalTo: contentView.bottomAnchor),
|
userView.bottomAnchor.constraint(equalTo: contentView.bottomAnchor),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue