Ver Fonte

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 há 1 mês atrás
pai
commit
24182e24a2
1 ficheiros alterados com 1 adições e 2 exclusões
  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)
                         }
                     }