Skip to content

Commit 0f8ab5b

Browse files
authored
Add FXIOS-12439 [Tab Tray UI Experiment] Make ExperimentTabCell constraint match Figma (backport #27229) (#27259)
1 parent 9d22853 commit 0f8ab5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firefox-ios/Client/Frontend/Browser/Tabs/Views/TabTitleSupplementaryView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ final class TabTitleSupplementaryView: UICollectionReusableView, ThemeApplicable
1010
struct UX {
1111
static let tabViewFooterSpacing: CGFloat = 4
1212
static let faviconSize = CGSize(width: 16, height: 16)
13-
static let viewPosition: CGFloat = 23
13+
static let bottomAnchorText: CGFloat = 8
1414
}
1515

1616
private lazy var footerView: UIStackView = .build { stackView in
@@ -42,7 +42,7 @@ final class TabTitleSupplementaryView: UICollectionReusableView, ThemeApplicable
4242
faviconContainer.addSubview(favicon)
4343

4444
NSLayoutConstraint.activate([
45-
footerView.topAnchor.constraint(equalTo: topAnchor, constant: UX.viewPosition),
45+
footerView.topAnchor.constraint(equalTo: bottomAnchor, constant: UX.bottomAnchorText),
4646
footerView.leadingAnchor.constraint(greaterThanOrEqualTo: leadingAnchor),
4747
footerView.trailingAnchor.constraint(lessThanOrEqualTo: trailingAnchor),
4848
footerView.centerXAnchor.constraint(equalTo: centerXAnchor),

0 commit comments

Comments
 (0)