Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NTP][Panorama] Select current color in chrome colors
Wrapped the currently selected chrome color in a check_mark_wrapper. If it is not classic chrome/no background, nothing should be checked. Anything that isn't a chrome color will have the custom color selector selected. Also, changed the box-shadow for the wrapper to a border instead. Accomodating for the size of the shadow and shrinking the size of the element, causes the element to move since the shadow doesn't actually take up any space like a border does. This fixes the existing problem of this also happening in Overview colors. Chrome Colors screenshot: screenshot/9hQZyiSfX3EHgQK Overview screenshot: screenshot/3Q8AmZUb46fWkfZ Bug: 1384250, 1402969 Change-Id: Id6b33dd865095ae37955b3aea013ab94af3bd1d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4189570 Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org> Commit-Queue: Riley Tatum <rtatum@google.com> Cr-Commit-Position: refs/heads/main@{#1096852}
- Loading branch information
Riley Tatum
authored and
Chromium LUCI CQ
committed
Jan 25, 2023
1 parent
0d3b45e
commit 9421ead
Showing
6 changed files
with
94 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters