Skip to content

Commit

Permalink
🎨 홈 캐러셀 크기 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
loinsir committed Dec 13, 2023
1 parent 3a10a0f commit 413fb8a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions iOS/Layover/Layover/Scenes/Home/HomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,14 @@ final class HomeViewController: BaseViewController {
view.subviews.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }

NSLayoutConstraint.activate([
uploadButton.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor, constant: -20),
uploadButton.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -20),

carouselCollectionView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
carouselCollectionView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
carouselCollectionView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: 42),
carouselCollectionView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor, constant: -109),
carouselCollectionView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor, constant: -41),

uploadButton.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor, constant: -20),
uploadButton.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -20)
])
}

Expand Down

0 comments on commit 413fb8a

Please sign in to comment.