add padding to done button. use stack style nav for web prefs

This commit is contained in:
Satindar Dhillon
2022-06-13 14:19:22 -07:00
parent 70a2d03890
commit 216166d778

View File

@ -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)
}
}