Browse Source

Cleanup X Padding and Size

to-test
Joel Klabo 2 years ago
committed by William Casarin
parent
commit
904a6e960a
  1. 17
      damus/Views/ProfileZoomView.swift

17
damus/Views/ProfileZoomView.swift

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

Loading…
Cancel
Save