Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
chore: fix title label constraint (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Umer authored Jul 21, 2023
1 parent da1c759 commit 43422e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/ValuePropCourseCardView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,15 @@ class ValuePropCourseCardView: UIView {

titleLabel.snp.makeConstraints { make in
make.leading.equalTo(lockImageView.snp.trailing).offset(StandardVerticalMargin)
make.trailing.lessThanOrEqualTo(chevronImageView).inset(StandardHorizontalMargin)
make.trailing.equalTo(chevronImageView.snp.leading).inset(StandardHorizontalMargin)
make.centerY.equalTo(lockImageView)
}

chevronImageView.snp.makeConstraints { make in
make.trailing.equalTo(containerView).inset(StandardHorizontalMargin)
make.centerY.equalTo(lockImageView)
make.height.equalTo(20)
make.width.equalTo(20)
}

tapButton.snp.makeConstraints { make in
Expand Down

0 comments on commit 43422e2

Please sign in to comment.