diff --git a/MiniScanner/Modules/DocumentPreview/ScannedItemPagerViewCell.swift b/MiniScanner/Modules/DocumentPreview/ScannedItemPagerViewCell.swift index f4659b3fe3668564cefd9e0eaec01298b87d9199..c87ff8318e94bad4563cf6bf5e5734098adccb5c 100644 --- a/MiniScanner/Modules/DocumentPreview/ScannedItemPagerViewCell.swift +++ b/MiniScanner/Modules/DocumentPreview/ScannedItemPagerViewCell.swift @@ -103,6 +103,8 @@ class ScannedItemPagerViewCell: FSPagerViewCell { contentView.addSubview(buttonsView) + contentView.clipsToBounds = true + buttonsView.centerXAnchor.constraint(equalTo: contentView.centerXAnchor).isActive = true contentView.bottomAnchor.constraint(equalTo: buttonsView.bottomAnchor, constant: 12).isActive = true