commit d3da536e317db5bc7517072dfb2187f74a49d58c
parent 03a8705ada05ab64eee767c4f3cbbed54c8c3d17
Author: FIGBERT <figbert@figbert.com>
Date: Thu, 15 Sep 2022 16:44:11 -0700
Set link font size
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Shared/CapsuleView.swift b/Shared/CapsuleView.swift
@@ -40,11 +40,13 @@ struct CapsuleView: View {
Link(destination: url) {
Text(str != nil ? str! : url.absoluteString)
}
+ .font(.system(size: 16.5))
} else {
Link(destination: url) {
Text(str != nil ? str! : url.absoluteString)
}
.foregroundColor(.purple)
+ .font(.system(size: 16.5))
}
case .PreformattedText(let code, _):
Text(code).monospaced(true)