Explorar o código

Adjust Your Content header crop to remove underline.

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

+ 4 - 2
gramora/Views/GrammarCheckerView.swift

@@ -65,8 +65,10 @@ struct GrammarCheckerView: View {
         VStack(alignment: .leading, spacing: 16) {
             Image("YourContentLogo")
                 .resizable()
-                .scaledToFit()
-                .frame(height: 48)
+                .aspectRatio(contentMode: .fit)
+                .frame(height: 52, alignment: .topLeading)
+                .frame(height: 46, alignment: .topLeading)
+                .clipped()
                 .accessibilityLabel("Your Content")
 
             ZStack(alignment: .bottomTrailing) {