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