Explorar o código

Align placeholder padding with the text editor inset so the caret and hint text start at the same position.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 hai 1 mes
pai
achega
24182e24a2
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      gramora/Views/GrammarCheckerView.swift

+ 1 - 2
gramora/Views/GrammarCheckerView.swift

@@ -83,8 +83,7 @@ struct GrammarCheckerView: View {
                             Text("Type or paste your text here and press the check button...")
                                 .font(.system(size: 14))
                                 .foregroundStyle(AppTheme.textMuted)
-                                .padding(.horizontal, 18)
-                                .padding(.vertical, 22)
+                                .padding(14)
                                 .allowsHitTesting(false)
                         }
                     }