Docs native S2a: the inspector's joined buttons are 28pt, as the spec says
They were 24pt inside a 28pt well (Fable on #169, finding 6). The buttons are now 28pt and the well 32pt with its 2pt inset.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+2
−2
native/apple/Sources/DocsKit/DocsFormatInspector.swift+2 −2
diff --git a/native/apple/Sources/DocsKit/DocsFormatInspector.swift b/native/apple/Sources/DocsKit/DocsFormatInspector.swift| index a2e87b3..c18aa20 100644 |
| --- a/native/apple/Sources/DocsKit/DocsFormatInspector.swift |
| +++ b/native/apple/Sources/DocsKit/DocsFormatInspector.swift |
| @@ -233,7 +233,7 @@ struct DocsSegmentedRow: View { |
| Image(systemName: item.icon) |
| .font(.system(size: 13, weight: .medium)) |
| .flipsForRightToLeftLayoutDirection(item.mirrors) |
| - .frame(maxWidth: .infinity, minHeight: 24) |
| + .frame(maxWidth: .infinity, minHeight: 28) // spec §1: joined 28pt buttons |
| .contentShape(Rectangle()) |
| } |
| .buttonStyle(.plain) |
| @@ -248,7 +248,7 @@ struct DocsSegmentedRow: View { |
| } |
| } |
| .padding(2) // spacing-allow: the well's inset around its joined buttons |
| - .frame(height: 28) |
| + .frame(height: 32) // the buttons' 28pt and the well's 2pt inset each side |
| .background(RoundedRectangle(cornerRadius: 8).fill(OficinaPalette.sunk)) |
| } |
| } |