Fix image sizing

This commit is contained in:
Jed Fox 2022-12-20 13:11:42 -05:00
parent 019a9920f0
commit 042c496832
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ struct MediaAltTextOverlay: View {
Spacer()
Button(action: { showingAlt = false }) {
Image(systemName: "xmark.circle.fill")
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 20, height: 20)
}
}