Browse Source

Cleanup X Padding and Size

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

7
damus/Views/ProfileZoomView.swift

@ -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(.largeTitle) .font(.subheadline)
.frame(width: 40, height: 40) .padding(.leading, 20)
.padding(20)
}
} }
.zIndex(1) .zIndex(1)

Loading…
Cancel
Save