Extended the border of the visibility of the visually impaired prompt and moved the text inwards.

Please let me know if any other change should be made.
This commit is contained in:
Iván Dombiak 2022-12-23 14:27:13 -08:00
parent 91547939f3
commit c89ff95f0c
1 changed files with 3 additions and 2 deletions

View File

@ -52,9 +52,10 @@ public struct AttachmentView: View {
.foregroundColor(.white)
.background(Color.black.opacity(0.4))
.placeholder(when: viewModel.caption.isEmpty) {
Text(placeholder).foregroundColor(.white)
Text(placeholder).foregroundColor(.white).padding(EdgeInsets(top: 0, leading: 8, bottom: 0, trailing: 4))
.lineLimit(1)
}
.padding(6)
.padding(EdgeInsets(top: 6, leading: 0, bottom: 10, trailing: 0))
}
)