bump up size for courier on hashes

This commit is contained in:
Ryan Nystrom
2017-07-14 21:37:41 -04:00
parent 45d50a74a3
commit b34dd0dab2
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>804</string>
<string>808</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>