Kaynağa Gözat

Nudge the paywall close button toward the top-right corner for better alignment with the panel edge.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 1 ay önce
ebeveyn
işleme
f1dba5e073
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Reddit App/Views/PaywallView.swift

+ 2 - 2
Reddit App/Views/PaywallView.swift

@@ -94,8 +94,8 @@ struct PaywallView: View {
             }
             Spacer()
         }
-        .padding(.horizontal, metrics.horizontalInset)
-        .padding(.top, metrics.topInset * 0.45)
+        .padding(.trailing, metrics.horizontalInset * 0.55)
+        .padding(.top, metrics.topInset * 0.28)
     }
 
     private func header(metrics: PaywallLayoutMetrics) -> some View {