refactor(ui): 统一胶囊页签并将面板收窄至640点

This commit is contained in:
2026-11-08 15:06:27 +08:00
parent 48f7ac73c0
commit 521319ef93
18 changed files with 223 additions and 26 deletions
+1
View File
@@ -28,6 +28,7 @@ struct CardField<Content: View>: View {
var body: some View {
VStack(alignment: .leading, spacing: 4) {
Text(title).font(PanelStyle.label).foregroundStyle(.secondary).frame(height: 14)
.help(Text(title))
content().font(PanelStyle.value).monospacedDigit().frame(height: 14)
}
.frame(maxWidth: .infinity, alignment: .leading)