alignment fixes
This commit is contained in:
parent
158edb3b5f
commit
8d604827ea
|
@ -57,6 +57,7 @@ struct ContinueWatchingCard: View {
|
||||||
.fontWeight(.semibold)
|
.fontWeight(.semibold)
|
||||||
.foregroundColor(.primary)
|
.foregroundColor(.primary)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
|
.frame(width: 500, alignment: .leading)
|
||||||
|
|
||||||
if item.itemType == .episode {
|
if item.itemType == .episode {
|
||||||
Text(item.getEpisodeLocator() ?? "")
|
Text(item.getEpisodeLocator() ?? "")
|
||||||
|
@ -64,8 +65,11 @@ struct ContinueWatchingCard: View {
|
||||||
.fontWeight(.medium)
|
.fontWeight(.medium)
|
||||||
.foregroundColor(.secondary)
|
.foregroundColor(.secondary)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
|
} else {
|
||||||
|
Text("")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.padding(.vertical)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ struct ContinueWatchingView: View {
|
||||||
.padding(.leading, 50)
|
.padding(.leading, 50)
|
||||||
|
|
||||||
ScrollView(.horizontal, showsIndicators: false) {
|
ScrollView(.horizontal, showsIndicators: false) {
|
||||||
LazyHStack {
|
LazyHStack(alignment: .top) {
|
||||||
ForEach(items, id: \.self) { item in
|
ForEach(items, id: \.self) { item in
|
||||||
ContinueWatchingCard(item: item)
|
ContinueWatchingCard(item: item)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue