Explorar el Código

Use rounded-rect styling for sidebar subscription CTA.

Match Try Pro / Manage Subscription to Apply button metrics (8pt corners, 32pt height) instead of a pill shape.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 hace 2 meses
padre
commit
11c433ceaa
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      App for Indeed/Views/DashboardView.swift

+ 2 - 2
App for Indeed/Views/DashboardView.swift

@@ -2500,9 +2500,9 @@ final class DashboardView: NSView, NSTextFieldDelegate, NSSharingServicePickerDe
         upgradeButton.alignment = .center
         upgradeButton.wantsLayer = true
         upgradeButton.layer?.backgroundColor = Theme.proCTABackground.cgColor
-        upgradeButton.layer?.cornerRadius = 20
+        upgradeButton.layer?.cornerRadius = 8
         upgradeButton.translatesAutoresizingMaskIntoConstraints = false
-        upgradeButton.heightAnchor.constraint(equalToConstant: 40).isActive = true
+        upgradeButton.heightAnchor.constraint(equalToConstant: 32).isActive = true
         upgradeButton.pointerCursor = true
         upgradeButton.hoverHandler = { [weak upgradeButton] hovering in
             upgradeButton?.layer?.backgroundColor = (hovering ? Theme.brandBlueHover : Theme.proCTABackground).cgColor