fix(character-gallery): 이미지 비율을 4:5 -> 2:3으로 수정
This commit is contained in:
@@ -142,7 +142,7 @@ struct CharacterDetailGalleryView: View {
|
||||
private func galleryImageView(item: CharacterImageListItemResponse, index: Int) -> some View {
|
||||
GeometryReader { geo in
|
||||
let width = geo.size.width
|
||||
let height = width * 5 / 4
|
||||
let height = width * 3 / 2
|
||||
|
||||
ZStack {
|
||||
// 이미지
|
||||
@@ -201,7 +201,7 @@ struct CharacterDetailGalleryView: View {
|
||||
viewModel.onImageTapped(item, index: index)
|
||||
}
|
||||
}
|
||||
.aspectRatio(4/5, contentMode: .fit)
|
||||
.aspectRatio(2/3, contentMode: .fit)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user