diff options
Diffstat (limited to 'chromium/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css')
-rw-r--r-- | chromium/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css b/chromium/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css index c9bb1896f96..02454185593 100644 --- a/chromium/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css +++ b/chromium/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css @@ -8,12 +8,14 @@ } :host([closed]) #wrapper { - transform: translateX(100%); + /* 132px roughly flips the location of the button across the right edge of the + * page. */ + transform: translateX(132px); transition-timing-function: cubic-bezier(0.4, 0, 1, 1); } :host-context([dir=rtl]):host([closed]) #wrapper { - transform: translateX(-100%); + transform: translateX(-132px); } paper-fab { @@ -26,6 +28,5 @@ paper-fab { @apply(--shadow-elevation-4dp); background-color: rgb(242, 242, 242); color: rgb(96, 96, 96); - margin: 0 48px; overflow: visible; } |