Fix phone keyboard and touch targets, render notes as Markdown

This commit is contained in:
Ian Gulliver
2026-10-22 06:33:03 -07:00
parent e2d747d7d3
commit 188a458930
7 changed files with 59 additions and 36 deletions
+2 -4
View File
@@ -124,11 +124,9 @@ private struct NoteRow: View {
@ViewState private var frame: CGRect = .zero
var body: some View {
HStack(alignment: .firstTextBaseline, spacing: 12) {
Text(note.text)
.textSelection(.enabled)
HStack(alignment: .top, spacing: 12) {
MarkdownView(blocks: parseMarkdown(note.text))
.frame(maxWidth: .infinity, alignment: .leading)
.fixedSize(horizontal: false, vertical: true)
Button("Delete") {
Task {
if !(await overlays.showConfirm(["Delete this note? Your lead stops applying it.", note.text], action: "Delete", danger: true, anchor: frame)) {