set snackbar y offset to 8
This commit is contained in:
@ -55,6 +55,7 @@ struct Snackbar: View {
|
||||
.frame(width: min(380, geometry.size.width * 0.96), height: 44)
|
||||
.background(self.colorScheme == .light ? Color.black : Color.white)
|
||||
.cornerRadius(5)
|
||||
.offset(x: 0, y: -8)
|
||||
.shadow(color: .gray, radius: 2)
|
||||
.animation(Animation.spring())
|
||||
.onAppear {
|
||||
|
||||
Reference in New Issue
Block a user