Fix the width of the "Line wrap" control bar on View-Source
The previous bar had a 100% width, which made the right edge visible if the window was scrolled. With this implementation, the control is the first row in the table, so the width is max-content. (Simply making <body> max-width doesn't work, because then when trying to line-wrap, the table is too wide and doesn't wrap anything.) Fixed: 1154219 Change-Id: I8d35eb632c59f7dc8c8e8c76c3575018669d82da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2582636 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#835517}
Showing
This diff is collapsed.
Please register or sign in to comment