fix
This commit is contained in:
parent
eeb82d7152
commit
2a8f9bb594
@ -468,31 +468,24 @@ extension IndexView {
|
|||||||
ProgressView()
|
ProgressView()
|
||||||
}
|
}
|
||||||
.frame(width: 370, height: 180)
|
.frame(width: 370, height: 180)
|
||||||
.overlay {
|
.overlay(alignment: .topLeading) {
|
||||||
HStack {
|
VStack(alignment: .leading, spacing: 8) {
|
||||||
VStack {
|
Text(item.name)
|
||||||
VStack(alignment: .leading, spacing: 8) {
|
.font(.system(size: 16))
|
||||||
Text(item.name)
|
.foregroundColor(.white)
|
||||||
.font(.system(size: 16))
|
.lineLimit(1)
|
||||||
.foregroundColor(.white)
|
|
||||||
.lineLimit(1)
|
Text(item.status)
|
||||||
|
.font(.system(size: 12))
|
||||||
Text(item.status)
|
.foregroundColor(.white)
|
||||||
.font(.system(size: 12))
|
.lineLimit(1)
|
||||||
.foregroundColor(.white)
|
|
||||||
.lineLimit(1)
|
|
||||||
}
|
|
||||||
.padding(5)
|
|
||||||
.background(
|
|
||||||
Color.black.opacity(0.6)
|
|
||||||
)
|
|
||||||
.cornerRadius(5)
|
|
||||||
|
|
||||||
Spacer()
|
|
||||||
}
|
|
||||||
Spacer()
|
|
||||||
}
|
}
|
||||||
.padding([.top, .leading], 10)
|
.padding(5)
|
||||||
|
.background(
|
||||||
|
Color.black.opacity(0.6)
|
||||||
|
)
|
||||||
|
.cornerRadius(5)
|
||||||
|
.padding(8)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user