refactor(ui): 统一胶囊页签并将面板收窄至640点
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user