From c0446812211c74f1b45e815da519fc4947bc3d2b Mon Sep 17 00:00:00 2001 From: Yoon Ah Shin Date: Sat, 22 Jan 2022 14:31:49 +0900 Subject: [PATCH] =?UTF-8?q?[CHORE]=20CategoryContentCell=20Layout=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Cells/CategoryContents1xNCollectionViewCell.swift | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Havit/Havit/Screens/CategoryContents/View/Components/Cells/CategoryContents1xNCollectionViewCell.swift b/Havit/Havit/Screens/CategoryContents/View/Components/Cells/CategoryContents1xNCollectionViewCell.swift index 327cea3d..ed47849c 100644 --- a/Havit/Havit/Screens/CategoryContents/View/Components/Cells/CategoryContents1xNCollectionViewCell.swift +++ b/Havit/Havit/Screens/CategoryContents/View/Components/Cells/CategoryContents1xNCollectionViewCell.swift @@ -143,12 +143,12 @@ final class CategoryContents1xNCollectionViewCell: BaseCollectionViewCell { titleLabel.snp.makeConstraints { $0.leading.equalTo(contentView).offset(16) $0.top.equalTo(mainImageView.snp.bottom).offset(15) - $0.trailing.equalTo(moreButton.snp.leading).inset(18) + $0.trailing.equalTo(moreButton.snp.leading).offset(-18) } subtitleLabel.snp.makeConstraints { $0.leading.equalTo(contentView).offset(16) - $0.trailing.equalTo(contentView).offset(-60) + $0.trailing.equalTo(contentView).inset(60) $0.top.equalTo(titleLabel.snp.bottom).offset(9) } @@ -168,14 +168,13 @@ final class CategoryContents1xNCollectionViewCell: BaseCollectionViewCell { alarmLabel.snp.makeConstraints { $0.leading.equalTo(contentView).offset(16) $0.top.equalTo(dateLabel.snp.bottom).offset(7) - $0.trailing.equalTo(isReadButton.snp.leading).inset(1) - $0.width.equalTo(182) + $0.trailing.equalTo(isReadButton.snp.leading).offset(-10) $0.height.equalTo(13) } isReadButton.snp.makeConstraints { $0.trailing.equalTo(contentView).inset(15) - $0.bottom.equalTo(borderView.snp.top).offset(-5) + $0.bottom.equalTo(borderView.snp.top).inset(5) $0.width.equalTo(31) $0.height.equalTo(42) }