Fix video description width

This commit is contained in:
Arkadiusz Fal 2021-11-04 00:51:46 +01:00
parent 505fbdbc51
commit d50b136b38

View File

@ -335,7 +335,9 @@ struct VideoDetails: View {
VStack(alignment: .leading, spacing: 10) {
if let description = video.description {
Text(description)
.frame(maxWidth: .infinity, alignment: .leading)
.font(.caption)
.padding(.bottom, 4)
} else {
Text("No description")
.foregroundColor(.secondary)