Browse Source

Style the Reddit back button with a bordered secondary style and hover feedback.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 1 month ago
parent
commit
0f439eb2ca
1 changed files with 3 additions and 4 deletions
  1. 3 4
      Reddit App/Views/Components/RedditWebBackBar.swift

+ 3 - 4
Reddit App/Views/Components/RedditWebBackBar.swift

@@ -13,13 +13,12 @@ struct RedditWebBackBar: View {
                     Text("Back")
                         .font(.system(size: 13, weight: .medium))
                 }
-                .foregroundStyle(AppTheme.textPrimary)
-                .padding(.horizontal, 14)
-                .padding(.vertical, 9)
             }
-            .buttonStyle(AppPlainButtonStyle())
+            .buttonStyle(AppSecondaryButtonStyle())
             .disabled(!canGoBack)
             .opacity(canGoBack ? 1 : 0.4)
+            .padding(.leading, 12)
+            .padding(.vertical, 8)
 
             Spacer(minLength: 0)
         }