Skip to content

Commit

Permalink
[Design] #319 - 식당 이름 최대 2줄까지 표시될 수 있게 높이 제한 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
EunsuSeo01 committed Dec 28, 2024
1 parent 95efb19 commit 1bbbe3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ final class HankkiDetailViewController: BaseViewController, NetworkResultDelegat
hankkiInfoView.snp.makeConstraints {
$0.top.equalTo(thumbnailImageView.snp.bottom)
$0.leading.trailing.equalToSuperview()
$0.height.equalTo(116)
}

detailMapView.snp.makeConstraints {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ final class HankkiInfoView: BaseView {

nameLabel.snp.makeConstraints {
$0.top.equalTo(categoryImageView.snp.bottom).offset(2)
$0.leading.equalToSuperview().inset(22)
$0.leading.trailing.equalToSuperview().inset(22)
}

heartButton.snp.makeConstraints {
Expand Down Expand Up @@ -76,6 +76,7 @@ final class HankkiInfoView: BaseView {
}

nameLabel.do {
$0.numberOfLines = 2
$0.attributedText = UILabel.setupAttributedText(for: PretendardStyle.h3, color: .gray900)
}

Expand Down

0 comments on commit 1bbbe3f

Please sign in to comment.