WebUI NTP: explicitly add space to the bottom of the content area
When the NTP has a vertical scroll bar, the NTP contents had a 32px empty space at the bottom. This was from the cr-button which was using "position: sticky" to stick to the bottom right of the window. The empty space looks good, but it should not be due to the height of the cr-button (it is not obvious). This CL introduces a div to explicitly set a 32px empty space at the bottom of the NTP content area, removing the dependency on the cr-button height. Change-Id: Ib035affef92445d3c7f1effdc61b5daea108c4ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2638633 Commit-Queue: Esmael Elmoslimany <aee@chromium.org> Reviewed-by:Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#845304}
Showing
Please register or sign in to comment