fix(banner): 페이지 배지를 가변 너비 한 줄로 표시한다
This commit is contained in:
@@ -113,16 +113,16 @@ struct BannerCarousel: View {
|
|||||||
HStack(alignment: .center, spacing: 1) {
|
HStack(alignment: .center, spacing: 1) {
|
||||||
Text(String(format: "%02d", currentPage))
|
Text(String(format: "%02d", currentPage))
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
.frame(width: 20)
|
|
||||||
|
|
||||||
Text("/")
|
Text("/")
|
||||||
.foregroundColor(.gray400)
|
.foregroundColor(.gray400)
|
||||||
|
|
||||||
Text(String(format: "%02d", items.count))
|
Text(String(format: "%02d", items.count))
|
||||||
.foregroundColor(.gray400)
|
.foregroundColor(.gray400)
|
||||||
.frame(width: 20)
|
|
||||||
}
|
}
|
||||||
.appFont(.body3)
|
.appFont(.body3)
|
||||||
|
.lineLimit(1)
|
||||||
|
.fixedSize(horizontal: true, vertical: false)
|
||||||
.padding(.horizontal, SodaSpacing.s6)
|
.padding(.horizontal, SodaSpacing.s6)
|
||||||
.padding(.vertical, SodaSpacing.s4)
|
.padding(.vertical, SodaSpacing.s4)
|
||||||
.background(Color.black.opacity(0.7))
|
.background(Color.black.opacity(0.7))
|
||||||
|
|||||||
Reference in New Issue
Block a user