Skip to content

Commit 9d48406

Browse files
committed
编辑器样式调整
1 parent 87ef56f commit 9d48406

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SwiftPamphletApp/InfoOrganizer/Info/EditInfoView.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,13 @@ struct EditInfoView: View {
125125
TabView(selection: $selectedTab) {
126126
TextEditor(text: $info.des)
127127
.overlay(
128-
RoundedRectangle(cornerRadius: 5)
128+
Rectangle()
129129
.stroke(.secondary, lineWidth: 1)
130+
.opacity(0.5)
130131
)
132+
.lineSpacing(5)
133+
.disableAutocorrection(true)
134+
.padding(10)
131135
.tabItem { Label("文本", systemImage: "circle") }
132136
.tag(1)
133137
WebUIView(html: wrapperHtmlContent(content: MarkdownParser().html(from: info.des)), baseURLStr: "")

0 commit comments

Comments
 (0)