mirror of
https://github.com/h3pdesign/Neon-Vision-Editor
synced 2026-04-21 13:27:16 +00:00
Restore Markdown preview header controls on iPhone
This commit is contained in:
parent
3e0054a372
commit
369e210249
1 changed files with 8 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue