Fix button heights

This commit is contained in:
Christoph Hagen 2023-11-10 13:46:43 +01:00
parent b0f2bdf430
commit abf61463fe

View File

@ -51,6 +51,7 @@ struct ContentView: View {
}) {
Label("Export", systemSymbol: .squareAndArrowDown)
.padding(3)
.frame(maxHeight: 20)
}.confirmationDialog(
"Which format would you like?",
isPresented: $showExportFormatPicker
@ -65,6 +66,7 @@ struct ContentView: View {
Button(action: importData) {
Label("Import", systemSymbol: .docBadgePlus)
.padding(8)
.frame(maxHeight: 20)
}
Spacer()
Toggle("Dark mode", isOn: $darkModeEnabled)