1
0
mirror of git://jb55.com/damus synced 2024-09-20 03:57:06 +00:00

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")
.edgesIgnoringSafeArea(.all)
HStack() {
Button {
presentationMode.wrappedValue.dismiss()
} label: {
Image(systemName: "xmark")
.foregroundColor(.white)
.font(.largeTitle)
.frame(width: 40, height: 40)
.padding(20)
}
Button {
presentationMode.wrappedValue.dismiss()
} label: {
Image(systemName: "xmark")
.foregroundColor(.white)
.font(.subheadline)
.padding(.leading, 20)
}
.zIndex(1)