Change position of the image

This commit is contained in:
Marcin Czachursk 2023-04-11 12:56:42 +02:00
parent 56b5cda95e
commit 8cd1089b15
1 changed files with 5 additions and 3 deletions

View File

@ -37,10 +37,12 @@ public struct ContentWarning<Content: View, Blurred: View>: View {
}
} label: {
Image(systemName: "eye.slash")
.font(.system(size: 16))
.font(.system(size: 18))
.foregroundColor(.white.opacity(0.8))
.shadow(color: Color.systemBackground, radius: 0.3)
.padding(.top, 10)
.padding([.bottom, .leading, .trailing], 8)
.padding(.top, 11)
.padding(.trailing, 6)
.padding([.bottom, .leading], 16)
}
}
Spacer()