 
     // MARK: - Properties
 
+    @Environment(\.horizontalSizeClass) var horizontalSizeClass
+
     var theme: Theme
     var dismissAction: (() -> Void)?
 
-    let devicePadding: CGFloat = UIDevice.current.userInterfaceIdiom == .pad ? 64 : 16
+    var sizeClassPadding: CGFloat {
+        horizontalSizeClass == .regular ? 64 : 16
+    }
 
     var continueButtonTextColor: Color {
         switch theme {

                    Spacer(minLength: 8)
                    NotificationsCenterOnboardingRowView(theme: theme, image: .push, header: LocalizedStrings.pushTitle, message: LocalizedStrings.pushMessage)
                }
                .padding(devicePadding)
            }
            ZStack(alignment: .bottom, content: {
                VStack {

                    Spacer().frame(height: 18)
                }
            })
            .padding(sizeClassPadding)
        }
    }

