diff --git a/DuckDuckGo/SecureVault/View/PasswordManagementItemList.swift b/DuckDuckGo/SecureVault/View/PasswordManagementItemList.swift index c717288450..6c91e23fc9 100644 --- a/DuckDuckGo/SecureVault/View/PasswordManagementItemList.swift +++ b/DuckDuckGo/SecureVault/View/PasswordManagementItemList.swift @@ -123,8 +123,6 @@ struct PasswordManagementItemListCategoryView: View { return 11 } - Spacer() - // MenuButton incorrectly displays a disabled state when you re-render it with a different image. // According to Stack Overflow, this was fixed in macOS 12, but it can still be reproduced on 12.2. // This also happens with Menu in macOS 11.0+, so using that on later macOS versions doesn't help. @@ -135,8 +133,10 @@ struct PasswordManagementItemListCategoryView: View { if model.sortDescriptor.order == .ascending { PasswordManagementSortButton(imageName: "SortAscending") + .frame(width: 24) } else { PasswordManagementSortButton(imageName: "SortDescending") + .frame(width: 24) } } .padding(.vertical, -4) diff --git a/DuckDuckGo/SecureVault/View/PasswordManager.storyboard b/DuckDuckGo/SecureVault/View/PasswordManager.storyboard index 9435721706..efa488a53a 100644 --- a/DuckDuckGo/SecureVault/View/PasswordManager.storyboard +++ b/DuckDuckGo/SecureVault/View/PasswordManager.storyboard @@ -11,21 +11,21 @@ - + - + - + - + - + @@ -36,15 +36,15 @@ - + - + - + @@ -112,7 +112,7 @@ - + @@ -179,20 +179,20 @@ - + - + - + - + - + @@ -238,7 +238,7 @@ - + @@ -246,18 +246,18 @@ - + - + - + - - + + @@ -324,7 +324,7 @@ - + @@ -402,7 +402,7 @@ - + @@ -422,8 +422,8 @@ - - + + @@ -482,8 +482,8 @@ - - + + @@ -491,6 +491,8 @@ + + @@ -607,7 +609,7 @@ -