[files-tooltip] Add padding to the tooltips on the edge.
Adding 6px padding to the tooltip if it's on the edge of the window. Adjusting current calculation to consider 6px padding according to the ux spec. Tested on rtl successfully as well. Bug: 1108152 Change-Id: Icdc3d59983e75a397dd6a0971ea22d95dc82d8e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2318954 Commit-Queue: Omid Tourzan <oto@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#792103}
Showing
Please register or sign in to comment