Commit 7e7174bf authored by Ewann's avatar Ewann Committed by Commit Bot

Fixes Incognito icon position.

- Deletes margin.


- screenshots: https://photos.app.goo.gl/KrJZVkFKRnb4Avxk8

Bug: 1021893, 1022450
Change-Id: Ic598ef50fc69384824bc969f1930efd23fa45586
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1904084
Commit-Queue: Ewann Pellé <ewannpv@chromium.org>
Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719092}
parent 88727c8e
......@@ -29,9 +29,6 @@ const CGFloat kLocationImageToLabelSpacing = -4.0;
// Minimal horizontal padding between the leading edge of the location bar and
// the content of the location bar.
const CGFloat kLocationBarLeadingPadding = 5.0;
// Minimal horizontal padding between the leading edge of the location bar and
// the BadgeView.
const CGFloat kBadgeViewLeadingSpacing = 3.0;
// Trailing space between the trailing button and the trailing edge of the
// location bar.
const CGFloat kButtonTrailingSpacing = 10;
......@@ -334,9 +331,7 @@ const CGFloat kbadgeViewAnimationDuration = 0.2;
];
self.badgeViewFullScreenDisabledConstraints = @[
[self.badgeView.leadingAnchor
constraintEqualToAnchor:self.leadingAnchor
constant:kBadgeViewLeadingSpacing],
[self.badgeView.leadingAnchor constraintEqualToAnchor:self.leadingAnchor],
[self.badgeView.trailingAnchor
constraintLessThanOrEqualToAnchor:self.locationContainerView
.leadingAnchor],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment