Resize PDF Viewer content when annotation mode is enabled
Because the <viewer-pdf-toolbar-new> element has a hardcoded height equal to its #toolbar child element, the PDF content does not get resized around the extended toolbar that contains the <viewer-annotations-bar> when annotation mode is toggled on. Remove that height, and let the size of <viewer-pdf-toolbar-new> be determined by its child elements. Bug: 1152605 Change-Id: I4f58640bc1a3f8eb210785217f80ac9b71848247 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559553 Commit-Queue: dpapad <dpapad@chromium.org> Reviewed-by:dpapad <dpapad@chromium.org> Auto-Submit: Daniel Hosseinian <dhoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#830940}
Showing
Please register or sign in to comment