aboutsummaryrefslogtreecommitdiff
path: root/Sources/NorgUI/Views/FlatBlocksView.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2026-06-18 22:05:21 +0200
committerRuben Beltran del Rio <jj@r.bdr.sh>2026-06-18 22:06:01 +0200
commitcb91a73bfc845d74c3e4d1115bce5dfed10d456d (patch)
tree62d218c4ec13f742b5de10ff442f46d152716658 /Sources/NorgUI/Views/FlatBlocksView.swift
parent3c391974907820c6385e90025faeab0d9c60bd06 (diff)
Make spacings configurable1.1.0
Diffstat (limited to 'Sources/NorgUI/Views/FlatBlocksView.swift')
-rw-r--r--Sources/NorgUI/Views/FlatBlocksView.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/NorgUI/Views/FlatBlocksView.swift b/Sources/NorgUI/Views/FlatBlocksView.swift
index 185d08b..747edb6 100644
--- a/Sources/NorgUI/Views/FlatBlocksView.swift
+++ b/Sources/NorgUI/Views/FlatBlocksView.swift
@@ -10,7 +10,7 @@ struct FlatBlocksView: View {
var body: some View {
let ordinals = orderedOrdinals(blocks)
- VStack(alignment: .leading, spacing: 10) {
+ VStack(alignment: .leading, spacing: theme.blockSpacing) {
ForEach(Array(blocks.enumerated()), id: \.offset) { index, block in
row(block, ordinal: ordinals[index])
}