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