From 16f5080bef459e64eddd46cf8b3e89580755eb37 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Fri, 28 Aug 2020 13:00:07 +0200 Subject: [PATCH] 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. --- web/viewer.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index bccfd5d9a..57a9e108a 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -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; } }