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:
Peter Steinberger 2025-07-27 18:09:19 +02:00
parent fab5987e33
commit 8ad99ab4a7

View file

@ -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