Change position of the image
This commit is contained in:
parent
56b5cda95e
commit
8cd1089b15
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue