We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75e259a commit d7992c3Copy full SHA for d7992c3
1 file changed
Core/Sources/SuggestionWidget/SuggestionPanelContent/CodeBlockSuggestionPanel.swift
@@ -8,7 +8,7 @@ struct CodeBlock: View {
8
VStack(spacing: 4) {
9
let code = suggestion.highlightedCode(colorScheme: colorScheme)
10
ForEach(0..<code.endIndex, id: \.self) { index in
11
- HStack(alignment: .firstTextBaseline) {
+ HStack(alignment: .firstTextBaseline, spacing: 4) {
12
Text("\(index + suggestion.startLineIndex + 1)")
13
.multilineTextAlignment(.trailing)
14
.foregroundColor(.secondary)
@@ -32,7 +32,8 @@ struct CodeBlock: View {
32
}
33
.foregroundColor(.white)
34
.font(.system(size: 12, design: .monospaced))
35
- .padding()
+ .padding(.leading, 4)
36
+ .padding([.trailing, .top, .bottom])
37
38
39
0 commit comments