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:
Jonas Jenwald 2020-08-28 13:00:07 +02:00
parent eb3654e278
commit 16f5080bef

View File

@ -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;
}
}