Fix spacing of bubble for New Tab Page Promotion.
The bubble was previously too far away from its target because the Open Tabs Button included a lot of padding around the image. Now, the bubble targets the image directly and has a smaller margin so that it is an appropriate distance away from the target. The unit tests expectations were adjusted downward by 8 to account for this reduction in margin (note that the short text case only went down to 50 px since 50 is the minimum width). Bug: 780977 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I1f18df5e9b2d464e1d12b3a04ef87f8166397b18 Reviewed-on: https://chromium-review.googlesource.com/807667Reviewed-by:Sergio Collazos <sczs@chromium.org> Reviewed-by:
Rohit Rao <rohitrao@chromium.org> Reviewed-by:
edchin <edchin@chromium.org> Commit-Queue: Gregory Chatzinoff <gchatz@chromium.org> Cr-Commit-Position: refs/heads/master@{#522236}
Showing
Please register or sign in to comment