From 216166d778a0c4d4a412178ff3e1f716fa2e2178 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Mon, 13 Jun 2022 14:19:22 -0700 Subject: [PATCH] add padding to done button. use stack style nav for web prefs --- .../Sources/Views/FontSizeAdjustmentPopoverView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/Views/FontSizeAdjustmentPopoverView.swift b/apple/OmnivoreKit/Sources/Views/FontSizeAdjustmentPopoverView.swift index d7735eaea..0758baf4f 100644 --- a/apple/OmnivoreKit/Sources/Views/FontSizeAdjustmentPopoverView.swift +++ b/apple/OmnivoreKit/Sources/Views/FontSizeAdjustmentPopoverView.swift @@ -147,11 +147,12 @@ public struct WebPreferencesPopoverView: View { ToolbarItem(placement: .navigationBarTrailing) { Button( action: dismissAction, - label: { Text("Done").foregroundColor(.appGrayTextContrast) } + label: { Text("Done").foregroundColor(.appGrayTextContrast).padding() } ) } } } + .navigationViewStyle(.stack) .accentColor(.appGrayTextContrast) } }