mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 05:53:41 +00:00
Fix video description width
This commit is contained in:
parent
505fbdbc51
commit
d50b136b38
@ -335,7 +335,9 @@ struct VideoDetails: View {
|
|||||||
VStack(alignment: .leading, spacing: 10) {
|
VStack(alignment: .leading, spacing: 10) {
|
||||||
if let description = video.description {
|
if let description = video.description {
|
||||||
Text(description)
|
Text(description)
|
||||||
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
.font(.caption)
|
.font(.caption)
|
||||||
|
.padding(.bottom, 4)
|
||||||
} else {
|
} else {
|
||||||
Text("No description")
|
Text("No description")
|
||||||
.foregroundColor(.secondary)
|
.foregroundColor(.secondary)
|
||||||
|
Loading…
Reference in New Issue
Block a user