gemenon

[ACTIVE] The Safari of the Gemini ecosystem
git clone git://git.figbert.com/gemenon.git
Log | Files | Refs

commit 4e5c8ff83b2a54032563432bc545eaee92e5d3e3
parent d3da536e317db5bc7517072dfb2187f74a49d58c
Author: FIGBERT <figbert@figbert.com>
Date:   Thu, 15 Sep 2022 16:44:22 -0700

Add padding above H2 and H3

Diffstat:
MShared/CapsuleView.swift | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Shared/CapsuleView.swift b/Shared/CapsuleView.swift @@ -54,9 +54,9 @@ struct CapsuleView: View { if level == 1 { Text(str).font(.title).fontWeight(.bold) } else if level == 2 { - Text(str).font(.title).fontWeight(.semibold) + Text(str).font(.title).fontWeight(.semibold).padding(.top) } else if level == 3 { - Text(str).font(.title) + Text(str).font(.title).padding(.top) } case .UnorderedList(let str): Text("ยท \(str)")