1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-02-02 18:36:44 +01:00

chore(profile): Allow profile header username to grow in height

This commit is contained in:
Marcus Kida 2023-01-05 11:47:43 +01:00
parent 2866721ca3
commit c56f1abd67
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40

View File

@ -431,7 +431,7 @@ extension ProfileHeaderView {
nameContainerStackView.addArrangedSubview(usernameButton)
NSLayoutConstraint.activate([
usernameButton.heightAnchor.constraint(equalToConstant: 20)
usernameButton.heightAnchor.constraint(greaterThanOrEqualToConstant: 20)
])
authorContainer.addArrangedSubview(nameContainerStackView)