From 904a6e960a2072b1eeba26c524f03c2b010ca9cb Mon Sep 17 00:00:00 2001 From: Joel Klabo Date: Fri, 20 Jan 2023 17:03:17 -0800 Subject: [PATCH] Cleanup X Padding and Size --- damus/Views/ProfileZoomView.swift | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/damus/Views/ProfileZoomView.swift b/damus/Views/ProfileZoomView.swift index 529450a0..60c17235 100644 --- a/damus/Views/ProfileZoomView.swift +++ b/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)