ui: make General tab scrollable
This commit is contained in:
@@ -11,6 +11,7 @@ struct GeneralSettings: View {
|
||||
@State private var remoteStatus: RemoteStatus = .idle
|
||||
|
||||
var body: some View {
|
||||
ScrollView(.vertical) {
|
||||
VStack(alignment: .leading, spacing: 18) {
|
||||
self.connectionSection
|
||||
|
||||
@@ -71,7 +72,7 @@ struct GeneralSettings: View {
|
||||
self.cliInstaller
|
||||
}
|
||||
|
||||
Spacer()
|
||||
Spacer(minLength: 12)
|
||||
HStack {
|
||||
Spacer()
|
||||
Button("Quit Clawdis") { NSApp.terminate(nil) }
|
||||
@@ -81,6 +82,7 @@ struct GeneralSettings: View {
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.padding(.horizontal, 22)
|
||||
.padding(.bottom, 16)
|
||||
}
|
||||
.onAppear { self.refreshCLIStatus() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user