Change display of search clear button to flex
The clear button for the search entry field is absolutely positioned and was using display 'block'. Side effect of that is that the ::after tap target is positioned incorrectly relative to the button location. Change the clear cr-button to display 'flex' which lets the tap target pseudo-element center correctly. Moves 3 CSS properties into alphabetical order to satisfy presubmit. Bug: 992823 Change-Id: I7066130f636372d59b956e1061a39ad794dbc354 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063193 Commit-Queue: Noel Gordon <noel@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#742496}
Showing
Please register or sign in to comment