Cleanup X Padding and Size

This commit is contained in:
Joel Klabo
2023-01-20 17:03:17 -08:00
committed by William Casarin
parent d658d1d987
commit 904a6e960a

View File

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