diff --git a/Tusker/Screens/Search/SearchResultsViewController.swift b/Tusker/Screens/Search/SearchResultsViewController.swift index 84e47fc7..33931cee 100644 --- a/Tusker/Screens/Search/SearchResultsViewController.swift +++ b/Tusker/Screens/Search/SearchResultsViewController.swift @@ -80,9 +80,8 @@ class SearchResultsViewController: UIViewController, CollectionViewController { break } let section = NSCollectionLayoutSection.list(using: config, layoutEnvironment: environment) - if UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac { - section.contentInsetsReference = .readableContent - } + // we don't use the readable content inset here, because it insets the entire cell, rather than just the content + // so the cell backgrounds not being full width looks weird return section } view = UICollectionView(frame: .zero, collectionViewLayout: layout)