Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 7ab377d

Browse files
authored
inset preview collection view (#2340)
1 parent fb1296f commit 7ab377d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Classes/Issues/Preview/IssuePreviewViewController.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ final class IssuePreviewViewController: UIViewController, ListAdapterDataSource
5252
view.addSubview(collectionView)
5353
collectionView.backgroundColor = .white
5454
collectionView.alwaysBounceVertical = true
55-
collectionView.contentInset = Styles.Sizes.listInsetLarge
55+
collectionView.contentInset = UIEdgeInsets(
56+
top: Styles.Sizes.rowSpacing,
57+
left: Styles.Sizes.gutter,
58+
bottom: Styles.Sizes.rowSpacing,
59+
right: Styles.Sizes.gutter
60+
)
5661
collectionView.snp.makeConstraints { make in
5762
make.edges.equalTo(view)
5863
}

0 commit comments

Comments
 (0)