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

Commit bb8a8ac

Browse files
authored
search cell shares common height (#1077)
1 parent 4128f95 commit bb8a8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Search/SearchRecentSectionController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class SearchRecentSectionController: ListGenericSectionController<SearchRe
2828

2929
override func sizeForItem(at index: Int) -> CGSize {
3030
guard let width = collectionContext?.containerSize.width else { fatalError("Missing context") }
31-
return CGSize(width: width, height: Styles.Sizes.tableCellHeightLarge)
31+
return CGSize(width: width, height: Styles.Sizes.tableCellHeight + Styles.Sizes.rowSpacing * 2)
3232
}
3333

3434
override func cellForItem(at index: Int) -> UICollectionViewCell {

0 commit comments

Comments
 (0)