mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
Fix Quick Start settings UI to match other settings sections
- Remove double border by restructuring to use Section with header/footer pattern - Move "Quick Start Commands" title and description outside the content border - Remove custom background and border from List to eliminate visual inconsistency - Match the same visual hierarchy as Server Configuration and other settings panels - Maintain single border around content area with consistent styling
This commit is contained in:
parent
fab5987e33
commit
8ad99ab4a7
1 changed files with 4 additions and 2 deletions
|
|
@ -107,6 +107,8 @@ struct QuickStartSettingsSection: View {
|
|||
Text("Commands shown in the new session form for quick access.")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
.frame(maxWidth: .infinity)
|
||||
.multilineTextAlignment(.center)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -253,10 +255,10 @@ private struct QuickStartCommandRow: View {
|
|||
}
|
||||
}
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 8)
|
||||
.padding(.vertical, 10)
|
||||
.background(
|
||||
RoundedRectangle(cornerRadius: 4)
|
||||
.fill(isEditing ? Color.accentColor.opacity(0.1) : Color.clear)
|
||||
.fill(isEditing ? Color.accentColor.opacity(0.1) : (isHovering ? Color(NSColor.separatorColor).opacity(0.05) : Color.clear))
|
||||
)
|
||||
.onHover { hovering in
|
||||
isHovering = hovering
|
||||
|
|
|
|||
Loading…
Reference in a new issue