Skip to content

Commit

Permalink
💄 Update: card 레이아웃 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
anyukyung committed Nov 19, 2023
1 parent 45490b3 commit 3167bbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iOS/Layover/Layover/Scenes/MapScene/MapViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ final class MapViewController: BaseViewController {

private lazy var carouselCollectionView: UICollectionView = {
let layout: UICollectionViewLayout = .createCarouselLayout(groupWidthDimension: 94/375,
groupHeightDimension: 117/151,
groupHeightDimension: 1.0,
maximumZoomScale: 1.0,
minimumZoomScale: 79/94)
minimumZoomScale: 73/94)
let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout)
collectionView.backgroundColor = .clear
collectionView.register(MapCarouselCollectionViewCell.self, forCellWithReuseIdentifier: MapCarouselCollectionViewCell.identifier)
Expand Down Expand Up @@ -101,7 +101,7 @@ final class MapViewController: BaseViewController {
carouselCollectionView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor, constant: -19),
carouselCollectionView.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor),
carouselCollectionView.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor),
carouselCollectionView.heightAnchor.constraint(equalToConstant: 150)
carouselCollectionView.heightAnchor.constraint(equalToConstant: 151)
])
}

Expand Down

0 comments on commit 3167bbe

Please sign in to comment.