diff --git a/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailAuthView.swift b/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailAuthView.swift index c30693016..8ac1a14c1 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailAuthView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailAuthView.swift @@ -42,24 +42,34 @@ struct EmailAuthView: View { } } - var body: some View { - NavigationView { - ZStack { - Color.appBackground.edgesIgnoringSafeArea(.all) - primaryContent - .frame(maxWidth: 300) - #if os(iOS) - .navigationBarTitleDisplayMode(.inline) - #endif - .toolbar { - ToolbarItem(placement: .barTrailing) { - Button( - action: { presentationMode.wrappedValue.dismiss() }, - label: { Image(systemName: "xmark").foregroundColor(.appGrayTextContrast) } - ) - } + var innerBody: some View { + ZStack { + Color.appBackground.edgesIgnoringSafeArea(.all) + primaryContent + .frame(maxWidth: 300) + #if os(iOS) + .navigationBarTitleDisplayMode(.inline) + #endif + .toolbar { + ToolbarItem(placement: .barTrailing) { + Button( + action: { presentationMode.wrappedValue.dismiss() }, + label: { Image(systemName: "xmark").foregroundColor(.appGrayTextContrast) } + ) } } } } + + var body: some View { + #if os(iOS) + NavigationView { + innerBody + } + #else + innerBody + .frame(minWidth: 400, minHeight: 400) + .buttonStyle(PlainButtonStyle()) + #endif + } } diff --git a/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailLoginFormView.swift b/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailLoginFormView.swift index b8d20ccd4..d7b78705c 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailLoginFormView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailLoginFormView.swift @@ -44,7 +44,7 @@ struct EmailLoginFormView: View { VStack(spacing: 28) { ScrollView(showsIndicators: false) { if horizontalSizeClass == .regular { - Spacer(minLength: 150) + Spacer(minLength: isMacApp ? 50 : 150) } VStack { VStack(alignment: .leading, spacing: 6) { diff --git a/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailSignupFormView.swift b/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailSignupFormView.swift index 12d6ae09a..a5cd9b927 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailSignupFormView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Registration/EmailAuth/EmailSignupFormView.swift @@ -86,7 +86,7 @@ struct EmailSignupFormView: View { VStack(spacing: 28) { ScrollView(showsIndicators: false) { if horizontalSizeClass == .regular { - Spacer(minLength: 150) + Spacer(minLength: isMacApp ? 50 : 150) } VStack { // Email