Fix sizing of userView in search history

This commit is contained in:
Jed Fox 2023-02-06 22:08:38 -05:00
parent 3b87916d9a
commit d933f2d0cb
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ extension SearchHistoryUserCollectionViewCell {
NSLayoutConstraint.activate([
userView.topAnchor.constraint(equalTo: contentView.topAnchor),
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),
])
}