mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Tweak the vertical positions of the findbar
and secondaryToolbar
(PR 11077 follow-up)
With the changes in PR 11077, these panels are no longer aligned exactly with the *center* of the corresponding toolbar buttons. This is especially noticeable for the `findbar` at narrow viewer width.
This commit is contained in:
parent
eb3654e278
commit
16f5080bef
1 changed files with 6 additions and 6 deletions
|
@ -471,10 +471,10 @@ html[dir='rtl'] #toolbarContainer, .findbar, .secondaryToolbar {
|
|||
height: auto;
|
||||
}
|
||||
html[dir='ltr'] .findbar {
|
||||
left: 63px;
|
||||
left: 64px;
|
||||
}
|
||||
html[dir='rtl'] .findbar {
|
||||
right: 63px;
|
||||
right: 64px;
|
||||
}
|
||||
|
||||
html[dir='ltr'] .findbar .splitToolbarButton {
|
||||
|
@ -579,10 +579,10 @@ html[dir='rtl'] #findInput[data-status="pending"] {
|
|||
background-color: var(--doorhanger-bg-color);
|
||||
}
|
||||
html[dir='ltr'] .secondaryToolbar {
|
||||
right: 3px;
|
||||
right: 4px;
|
||||
}
|
||||
html[dir='rtl'] .secondaryToolbar {
|
||||
left: 3px;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
#secondaryToolbarButtonContainer {
|
||||
|
@ -1823,10 +1823,10 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
|||
width: 0;
|
||||
}
|
||||
html[dir='ltr'] .findbar {
|
||||
left: 38px;
|
||||
left: 34px;
|
||||
}
|
||||
html[dir='rtl'] .findbar {
|
||||
right: 38px;
|
||||
right: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue