padding issues

This commit is contained in:
Aiden Vigue 2021-05-25 16:03:55 -04:00
parent 4bc66857ea
commit 44164189f3
No known key found for this signature in database
GPG Key ID: E7570472648F4544
3 changed files with 6 additions and 6 deletions

View File

@ -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()

View File

@ -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)
}

View File

@ -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)