Minor layout fixes

This commit is contained in:
Arkadiusz Fal
2022-12-16 00:13:36 +01:00
parent f1551141e3
commit d19446d37d
3 changed files with 14 additions and 42 deletions

View File

@@ -32,6 +32,7 @@ struct SearchTextField: View {
.frame(maxWidth: 190)
.textFieldStyle(.plain)
#else
.frame(minWidth: 200)
.textFieldStyle(.roundedBorder)
.padding(.horizontal, 5)
.padding(.trailing, state.queryText.isEmpty ? 0 : 10)
@@ -47,6 +48,7 @@ struct SearchTextField: View {
}
}
}
.transaction { t in t.animation = nil }
}
private var fieldBorder: some View {