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