|
@@ -208,7 +208,7 @@
|
|
|
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
|
|
|
CGFloat width = KPortraitWidth - 28;
|
|
|
if (IS_IPAD) {
|
|
|
- width = (KPortraitWidth - 28 - 12 * 2 - 12) / 2.0f;
|
|
|
+ width = (KPortraitWidth - 28 - 12) / 2.0f;
|
|
|
}
|
|
|
CGFloat height = (width - 12 * 2) / 16 * 9 + 143;
|
|
|
return CGSizeMake(width, height);
|