mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-28 06:36:05 +08:00
bump up size for courier on hashes
This commit is contained in:
@@ -42,13 +42,14 @@ final class IssueStatusEventCell: UICollectionViewCell {
|
||||
make.centerY.equalTo(contentView)
|
||||
}
|
||||
|
||||
hashButton.titleLabel?.font = UIFont(name: "Courier-Bold", size: Styles.Sizes.Text.secondary)
|
||||
// courier has a little bit of a different kerning, manually adjust
|
||||
hashButton.titleLabel?.font = UIFont(name: "Courier-Bold", size: Styles.Sizes.Text.secondary + 1)
|
||||
hashButton.setTitleColor(Styles.Colors.Gray.dark.color, for: .normal)
|
||||
hashButton.addTarget(self, action: #selector(IssueStatusEventCell.onHash), for: .touchUpInside)
|
||||
contentView.addSubview(hashButton)
|
||||
hashButton.snp.makeConstraints { make in
|
||||
make.left.equalTo(statusButton.snp.right).offset(Styles.Sizes.inlineSpacing)
|
||||
make.centerY.equalTo(contentView)
|
||||
make.centerY.equalTo(contentView).offset(1)
|
||||
}
|
||||
|
||||
dateLabel.font = Styles.Fonts.secondary
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>804</string>
|
||||
<string>808</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
<key>LSApplicationQueriesSchemes</key>
|
||||
|
||||
Reference in New Issue
Block a user