diff --git a/Note/FormatLogViewController.swift b/Note/FormatLogViewController.swift index d514b1a..d9f000d 100644 --- a/Note/FormatLogViewController.swift +++ b/Note/FormatLogViewController.swift @@ -36,6 +36,8 @@ class FormatLogViewController: UIViewController { textView.font = UIFont.systemFont(ofSize: 16) textView.backgroundColor = .systemBackground textView.layer.cornerRadius = 12 + textView.layer.borderWidth = 0.5 + textView.layer.borderColor = UIColor.separator.cgColor textView.textContainerInset = UIEdgeInsets(top: 12, left: 12, bottom: 12, right: 12) textView.delegate = self view.addSubview(textView) diff --git a/Note/FormatNoteViewController.swift b/Note/FormatNoteViewController.swift index 9bd658f..debf38a 100644 --- a/Note/FormatNoteViewController.swift +++ b/Note/FormatNoteViewController.swift @@ -36,6 +36,8 @@ class FormatNoteViewController: UIViewController { textView.translatesAutoresizingMaskIntoConstraints = false textView.backgroundColor = .systemBackground textView.layer.cornerRadius = 12 + textView.layer.borderWidth = 0.5 + textView.layer.borderColor = UIColor.separator.cgColor textView.layer.masksToBounds = true textView.font = UIFont.preferredFont(forTextStyle: .body) textView.textContainerInset = UIEdgeInsets(top: 12, left: 12, bottom: 12, right: 12)