[webui][ntp] Fix doodle sizing
Image Doodles: Before, image doodles were only given a max width of 500x. This CL increases this to the width of the window since that is what the local NTP does. Additionally, the doodle share button is now placed relative to the top left corner of the doodle instead of the previously fixed-size image doodle container. Interactive Doodles: This CL uses the initial iframe size provided in the doodle response instead of a fixed initial size of 500x230px. Fixed: 1039910 Change-Id: Ibaa23976a02c9215e80f3cc55fa2a5fcbc4781e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2150007 Auto-Submit: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by:Esmael Elmoslimany <aee@chromium.org> Reviewed-by:
Alex Gough <ajgo@chromium.org> Commit-Queue: Alex Gough <ajgo@chromium.org> Cr-Commit-Position: refs/heads/master@{#759255}
Showing
Please register or sign in to comment