commit 904a6e960a2072b1eeba26c524f03c2b010ca9cb parent d658d1d987b6c3808286df69e46f735ee73de45c Author: Joel Klabo <joelklabo@gmail.com> Date: Fri, 20 Jan 2023 17:03:17 -0800 Cleanup X Padding and Size Diffstat:
M | damus/Views/ProfileZoomView.swift | | | 17 | +++++++---------- |
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git 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)