diff --git a/Classes/Issues/IssueTextActionsView.swift b/Classes/Issues/IssueTextActionsView.swift
index 10964493..f27f3549 100644
--- a/Classes/Issues/IssueTextActionsView.swift
+++ b/Classes/Issues/IssueTextActionsView.swift
@@ -123,9 +123,10 @@ final class IssueTextActionsView: UIView, UICollectionViewDataSource, UICollecti
}
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
+ let height = collectionView.bounds.height
return CGSize(
- width: operations[indexPath.item].icon?.size.width ?? 0,
- height: collectionView.bounds.height
+ width: min(operations[indexPath.item].icon?.size.width ?? 0, height),
+ height: height
)
}
diff --git a/Resources/Info.plist b/Resources/Info.plist
index b3b97842..c4c8fcd3 100644
--- a/Resources/Info.plist
+++ b/Resources/Info.plist
@@ -32,7 +32,7 @@
CFBundleVersion
- 1296
+ 1298
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes