mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-10-29 21:53:43 +00:00
fix(home): rebalance dashboard column layout
This commit is contained in:
@@ -20,15 +20,15 @@ struct HomeView: View {
|
||||
HomeTargetCard(
|
||||
workflow: workflow, browser: browser, activation: activation,
|
||||
activeTargetID: control.snapshot.activeTarget?.id, showServers: showServers)
|
||||
ModeCard(control: control)
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
VStack(spacing: 20) {
|
||||
RuntimeControlCard(control: control)
|
||||
ModeCard(control: control)
|
||||
TerminalProxyEnvironmentCard(control: control, clipboard: clipboard, errors: errors)
|
||||
QuickActionCard(workflow: workflow)
|
||||
}
|
||||
.frame(width: 300)
|
||||
.frame(width: 400)
|
||||
}
|
||||
.padding(.leading, 28)
|
||||
.padding(.trailing, 32)
|
||||
|
||||
Reference in New Issue
Block a user