Commit 89ef33b9 authored by Daniel Hosseinian's avatar Daniel Hosseinian Committed by Commit Bot

PDF Viewer Update: Make toolbar reactive to narrow screens

Disallow wrapping within the #end div and add a 20px padding to the
left.

When window width is less than or equal to 600px, do not display the
PDF title and the zoom input.

Bug: 1108453
Change-Id: I60dbd2ada5a6a81cdf9f40daf6019889498d308f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2314788
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: default avatarJohn Lee <johntlee@chromium.org>
Reviewed-by: default avatarRebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791521}
parent a5459a92
......@@ -42,7 +42,9 @@
}
#end {
padding-inline-start: 20px;
text-align: end;
white-space: nowrap;
}
#zoom-controls {
......@@ -53,6 +55,13 @@
padding: 0 6px;
}
@media(max-width: 600px) {
#title,
#zoom-controls input {
display: none;
}
}
viewer-page-selector {
display: inline-flex;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment