fix(main): 현재 라이브 전체 버튼을 고정한다
This commit is contained in:
@@ -7,15 +7,18 @@ struct MainHomeLiveSection: View {
|
||||
|
||||
var body: some View {
|
||||
if !items.isEmpty {
|
||||
ScrollView(.horizontal, showsIndicators: false) {
|
||||
LazyHStack(alignment: .top, spacing: SodaSpacing.s12) {
|
||||
ForEach(items, id: \.self) { item in
|
||||
MainHomeLiveItemView(item: item, onTapLive: onTapLive)
|
||||
HStack(alignment: .top, spacing: SodaSpacing.s12) {
|
||||
ScrollView(.horizontal, showsIndicators: false) {
|
||||
LazyHStack(alignment: .top, spacing: SodaSpacing.s12) {
|
||||
ForEach(items, id: \.self) { item in
|
||||
MainHomeLiveItemView(item: item, onTapLive: onTapLive)
|
||||
}
|
||||
}
|
||||
|
||||
MainHomeLiveAllItemView(onTapAll: onTapAll)
|
||||
.padding(.leading, SodaSpacing.s20)
|
||||
}
|
||||
.padding(.horizontal, SodaSpacing.s20)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
|
||||
MainHomeLiveAllItemView(onTapAll: onTapAll)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user