From 369e2102496622e180b383b9c7a7bb7fdba48fdc Mon Sep 17 00:00:00 2001 From: h3p Date: Thu, 16 Apr 2026 12:49:56 +0200 Subject: [PATCH] Restore Markdown preview header controls on iPhone --- Neon Vision Editor/UI/ContentView.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Neon Vision Editor/UI/ContentView.swift b/Neon Vision Editor/UI/ContentView.swift index 0664052..97c0946 100644 --- a/Neon Vision Editor/UI/ContentView.swift +++ b/Neon Vision Editor/UI/ContentView.swift @@ -4927,6 +4927,14 @@ struct ContentView: View { @ViewBuilder private var markdownPreviewPane: some View { VStack(alignment: .leading, spacing: 0) { +#if os(iOS) + if UIDevice.current.userInterfaceIdiom == .phone { + markdownPreviewHeader + .padding(.horizontal, 12) + .padding(.vertical, 10) + .background(editorSurfaceBackgroundStyle) + } +#endif MarkdownPreviewWebView( html: markdownPreviewHTML( from: currentContent,