Skip to content

Commit

Permalink
Merge pull request #18786 from wordpress-mobile/task/site-design-capt…
Browse files Browse the repository at this point in the history
…ion-font

[Site Design Revamp] Update recommended designs caption font
  • Loading branch information
Antonis Lilis authored Jun 1, 2022
2 parents b83a832 + fa59efa commit 834a046
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class CategorySectionTableViewCell: UITableViewCell {
categoryTitle.font = categoryTitleFont ?? WPStyleGuide.serifFontForTextStyle(UIFont.TextStyle.headline, fontWeight: .semibold)
categoryTitle.layer.masksToBounds = true
categoryTitle.layer.cornerRadius = 4
categoryCaptionLabel.font = WPStyleGuide.fontForTextStyle(.subheadline, fontWeight: .semibold)
categoryCaptionLabel.font = WPStyleGuide.fontForTextStyle(.footnote, fontWeight: .regular)
setCaption()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<collectionView multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="none" springLoaded="YES" translatesAutoresizingMaskIntoConstraints="NO" id="mQ0-DH-hTW" customClass="AccessibleCollectionView" customModule="WordPress" customModuleProvider="target">
<rect key="frame" x="0.0" y="59" width="320" height="220"/>
<rect key="frame" x="0.0" y="57" width="320" height="222"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="height" priority="999" constant="240" id="iK4-y8-V36"/>
Expand All @@ -35,8 +35,8 @@
<outlet property="delegate" destination="KGk-i7-Jjw" id="7er-Am-6i2"/>
</connections>
</collectionView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="b14-QX-4ea">
<rect key="frame" x="20" y="20" width="80" height="19"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="b14-QX-4ea">
<rect key="frame" x="20" y="20" width="80" height="17"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ujI-Bw-5eP">
<rect key="frame" x="0.0" y="0.0" width="80" height="0.0"/>
Expand All @@ -45,7 +45,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3pe-2p-9as">
<rect key="frame" x="0.0" y="4" width="80" height="15"/>
<rect key="frame" x="0.0" y="2" width="80" height="15"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="15" id="Cne-bu-2aD"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="80" id="b0Y-Uh-CXP"/>
Expand Down

0 comments on commit 834a046

Please sign in to comment.