Improve image row view
This commit is contained in:
parent
713ece9f3b
commit
ecd0571cb6
|
@ -58,8 +58,8 @@ private struct ImageAvatar: ViewModifier {
|
|||
|
||||
Spacer()
|
||||
}
|
||||
.padding(.leading, 6)
|
||||
.padding(.top, 6)
|
||||
.padding(.leading, 8)
|
||||
.padding(.top, 8)
|
||||
}
|
||||
} else {
|
||||
content
|
||||
|
|
|
@ -37,9 +37,10 @@ public struct ContentWarning<Content: View, Blurred: View>: View {
|
|||
}
|
||||
} label: {
|
||||
Image(systemName: "eye.slash")
|
||||
.font(.title2)
|
||||
.font(.system(size: 16))
|
||||
.shadow(color: Color.systemBackground, radius: 0.3)
|
||||
.padding()
|
||||
.padding(.top, 10)
|
||||
.padding([.bottom, .leading, .trailing], 8)
|
||||
}
|
||||
}
|
||||
Spacer()
|
||||
|
|
Loading…
Reference in New Issue