시리즈 상세 작품소개 키워드

- 글자가 2줄로 보이거나 잘리는 버그 수정
This commit is contained in:
Yu Sung
2024-04-30 19:24:17 +09:00
parent feaeb275e4
commit 38653247b8
4 changed files with 72 additions and 16 deletions

View File

@@ -6,7 +6,7 @@
//
import SwiftUI
import TagLayoutView
import SwiftUIFlowLayout
struct SeriesDetailIntroductionView: View {
@@ -21,12 +21,7 @@ struct SeriesDetailIntroductionView: View {
.padding(.top, 16)
.padding(.horizontal, 13.3)
TagLayoutView(
seriesDetail.keywordList,
tagFont: UIFont(name: Font.medium.rawValue, size: 12)!,
padding: 5.3,
parentWidth: width
) {
FlowLayout(mode: .scrollable, items: seriesDetail.keywordList, itemSpacing: 5.3) {
SeriesKeywordChipView(keyword: $0)
}
.padding(.horizontal, 13.3)