padding issues
This commit is contained in:
parent
4bc66857ea
commit
44164189f3
|
@ -109,7 +109,7 @@ struct ContinueWatchingView: View {
|
||||||
ScrollView(.horizontal, showsIndicators: false) {
|
ScrollView(.horizontal, showsIndicators: false) {
|
||||||
if(_resumeItems.wrappedValue.count > 0) {
|
if(_resumeItems.wrappedValue.count > 0) {
|
||||||
LazyHStack() {
|
LazyHStack() {
|
||||||
Spacer().frame(width:16)
|
Spacer().frame(width:12)
|
||||||
ForEach(resumeItems, id: \.Id) { item in
|
ForEach(resumeItems, id: \.Id) { item in
|
||||||
NavigationLink(destination: ItemView(item: item)) {
|
NavigationLink(destination: ItemView(item: item)) {
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
|
@ -174,7 +174,7 @@ struct ContinueWatchingView: View {
|
||||||
}.padding(.trailing, 5)
|
}.padding(.trailing, 5)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Spacer().frame(width:14)
|
Spacer().frame(width:12)
|
||||||
}.frame(height: 215)
|
}.frame(height: 215)
|
||||||
} else {
|
} else {
|
||||||
EmptyView()
|
EmptyView()
|
||||||
|
|
|
@ -85,7 +85,7 @@ struct LatestMediaView: View {
|
||||||
var body: some View {
|
var body: some View {
|
||||||
ScrollView(.horizontal, showsIndicators: false) {
|
ScrollView(.horizontal, showsIndicators: false) {
|
||||||
LazyHStack() {
|
LazyHStack() {
|
||||||
Spacer().frame(width:18)
|
Spacer().frame(width:14)
|
||||||
ForEach(resumeItems, id: \.Id) { item in
|
ForEach(resumeItems, id: \.Id) { item in
|
||||||
NavigationLink(destination: ItemView(item: item)) {
|
NavigationLink(destination: ItemView(item: item)) {
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
|
@ -144,7 +144,7 @@ struct LatestMediaView: View {
|
||||||
}
|
}
|
||||||
Spacer().frame(width: 14)
|
Spacer().frame(width: 14)
|
||||||
}
|
}
|
||||||
Spacer().frame(width:18)
|
Spacer().frame(width:14)
|
||||||
}.frame(height: 190)
|
}.frame(height: 190)
|
||||||
}.onAppear(perform: onAppear).padding(EdgeInsets(top: -2, leading: 0, bottom: 0, trailing: 0)).frame(height: 190)
|
}.onAppear(perform: onAppear).padding(EdgeInsets(top: -2, leading: 0, bottom: 0, trailing: 0)).frame(height: 190)
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,7 +74,7 @@ struct NextUpView: View {
|
||||||
ScrollView(.horizontal, showsIndicators: false) {
|
ScrollView(.horizontal, showsIndicators: false) {
|
||||||
LazyHStack() {
|
LazyHStack() {
|
||||||
if(isLoading == false) {
|
if(isLoading == false) {
|
||||||
Spacer().frame(width:18)
|
Spacer().frame(width:14)
|
||||||
ForEach(resumeItems, id: \.Id) { item in
|
ForEach(resumeItems, id: \.Id) { item in
|
||||||
NavigationLink(destination: ItemView(item: item)) {
|
NavigationLink(destination: ItemView(item: item)) {
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
|
@ -107,7 +107,7 @@ struct NextUpView: View {
|
||||||
}
|
}
|
||||||
Spacer().frame(width: 10)
|
Spacer().frame(width: 10)
|
||||||
}
|
}
|
||||||
Spacer().frame(width:18)
|
Spacer().frame(width:14)
|
||||||
}
|
}
|
||||||
}.frame(height: 200)
|
}.frame(height: 200)
|
||||||
}.padding(EdgeInsets(top: -2, leading: 0, bottom: 0, trailing: 0)).frame(height: 200)
|
}.padding(EdgeInsets(top: -2, leading: 0, bottom: 0, trailing: 0)).frame(height: 200)
|
||||||
|
|
Loading…
Reference in New Issue