Skip to content

Commit

Permalink
Section UI adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrentka committed Feb 12, 2024
1 parent 9f03db1 commit ddb76bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@ final class SingleCitationSectionView: UICollectionReusableView {

let label = UILabel()
label.translatesAutoresizingMaskIntoConstraints = false
label.font = .preferredFont(for: .subheadline, weight: .bold)
label.font = .preferredFont(forTextStyle: .footnote)
label.textColor = .systemGray
addSubview(label)
titleLabel = label

NSLayoutConstraint.activate([
label.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 8),
label.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 16),
bottomAnchor.constraint(equalTo: label.bottomAnchor),
trailingAnchor.constraint(equalTo: label.trailingAnchor)
])
Expand Down

0 comments on commit ddb76bd

Please sign in to comment.