Преглед изворни кода

Add top padding to sidebar title and Home navigation.

Increase sidebar top inset and spacing below the App for Indeed brand label.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 пре 3 недеља
родитељ
комит
27ccc3d233
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      App for Indeed/Views/DashboardView.swift

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

@@ -243,7 +243,7 @@ final class DashboardView: NSView, NSTextFieldDelegate, NSSharingServicePickerDe
243 243
         sidebar.wantsLayer = true
244 244
         sidebar.layer?.backgroundColor = Theme.sidebarBackground.cgColor
245 245
         sidebar.layer?.cornerRadius = 16
246
-        sidebar.edgeInsets = NSEdgeInsets(top: 6, left: 6, bottom: 6, right: 6)
246
+        sidebar.edgeInsets = NSEdgeInsets(top: 20, left: 6, bottom: 6, right: 6)
247 247
         sidebar.translatesAutoresizingMaskIntoConstraints = false
248 248
 
249 249
         mainHost.translatesAutoresizingMaskIntoConstraints = false
@@ -2369,7 +2369,7 @@ final class DashboardView: NSView, NSTextFieldDelegate, NSSharingServicePickerDe
2369 2369
         brand.maximumNumberOfLines = 2
2370 2370
         brand.preferredMaxLayoutWidth = 194
2371 2371
         sidebar.addArrangedSubview(brand)
2372
-        sidebar.setCustomSpacing(10, after: brand)
2372
+        sidebar.setCustomSpacing(22, after: brand)
2373 2373
 
2374 2374
         items.enumerated().forEach { index, item in
2375 2375
             let isSelected = index == selectedSidebarIndex