Improve image row view

This commit is contained in:
Marcin Czachursk 2023-04-11 12:30:08 +02:00
parent 713ece9f3b
commit ecd0571cb6
2 changed files with 5 additions and 4 deletions

View File

@ -58,8 +58,8 @@ private struct ImageAvatar: ViewModifier {
Spacer()
}
.padding(.leading, 6)
.padding(.top, 6)
.padding(.leading, 8)
.padding(.top, 8)
}
} else {
content

View File

@ -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()