Cleanup X Padding and Size
This commit is contained in:
committed by
William Casarin
parent
d658d1d987
commit
904a6e960a
@@ -54,16 +54,13 @@ struct ProfileZoomView: View {
|
|||||||
Color("DamusDarkGrey") // Or Color("DamusBlack")
|
Color("DamusDarkGrey") // Or Color("DamusBlack")
|
||||||
.edgesIgnoringSafeArea(.all)
|
.edgesIgnoringSafeArea(.all)
|
||||||
|
|
||||||
HStack() {
|
Button {
|
||||||
Button {
|
presentationMode.wrappedValue.dismiss()
|
||||||
presentationMode.wrappedValue.dismiss()
|
} label: {
|
||||||
} label: {
|
Image(systemName: "xmark")
|
||||||
Image(systemName: "xmark")
|
.foregroundColor(.white)
|
||||||
.foregroundColor(.white)
|
.font(.subheadline)
|
||||||
.font(.largeTitle)
|
.padding(.leading, 20)
|
||||||
.frame(width: 40, height: 40)
|
|
||||||
.padding(20)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.zIndex(1)
|
.zIndex(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user