Skip to content

Commit 37645ef

Browse files
committed
Adjust UI
1 parent b29d1aa commit 37645ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Tool/Sources/SharedUIComponents/AsyncCodeBlock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public struct AsyncCodeBlock: View { // chat: hid
8585
.font(.init(font))
8686
.padding(.leading, 4)
8787
.padding(.trailing)
88-
.padding(.top, commonPrecedingSpaceCount > 0 ? 12 : 4)
88+
.padding(.top, commonPrecedingSpaceCount > 0 ? 16 : 4)
8989
.padding(.bottom, 4)
9090
.onAppear {
9191
storage.dimmedCharacterCount = dimmedCharacterCount

Tool/Sources/SharedUIComponents/CodeBlock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public struct CodeBlock: View {
8585
.font(.init(font))
8686
.padding(.leading, 4)
8787
.padding(.trailing)
88-
.padding(.top, commonPrecedingSpaceCount > 0 ? 12 : 4)
88+
.padding(.top, commonPrecedingSpaceCount > 0 ? 16 : 4)
8989
.padding(.bottom, 4)
9090
}
9191

0 commit comments

Comments
 (0)