Fix button heights
This commit is contained in:
parent
b0f2bdf430
commit
abf61463fe
@ -51,6 +51,7 @@ struct ContentView: View {
|
|||||||
}) {
|
}) {
|
||||||
Label("Export", systemSymbol: .squareAndArrowDown)
|
Label("Export", systemSymbol: .squareAndArrowDown)
|
||||||
.padding(3)
|
.padding(3)
|
||||||
|
.frame(maxHeight: 20)
|
||||||
}.confirmationDialog(
|
}.confirmationDialog(
|
||||||
"Which format would you like?",
|
"Which format would you like?",
|
||||||
isPresented: $showExportFormatPicker
|
isPresented: $showExportFormatPicker
|
||||||
@ -65,6 +66,7 @@ struct ContentView: View {
|
|||||||
Button(action: importData) {
|
Button(action: importData) {
|
||||||
Label("Import", systemSymbol: .docBadgePlus)
|
Label("Import", systemSymbol: .docBadgePlus)
|
||||||
.padding(8)
|
.padding(8)
|
||||||
|
.frame(maxHeight: 20)
|
||||||
}
|
}
|
||||||
Spacer()
|
Spacer()
|
||||||
Toggle("Dark mode", isOn: $darkModeEnabled)
|
Toggle("Dark mode", isOn: $darkModeEnabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user