Adjust sizing of notes pane search bar and + buttons

This commit is contained in:
Dan Stillman 2021-02-25 03:36:37 -05:00
parent ebf45a3232
commit 590b6b4a34
2 changed files with 4 additions and 1 deletions

View file

@ -426,7 +426,8 @@ var ZoteroContextPane = new function () {
var vbox = document.createElement('vbox'); var vbox = document.createElement('vbox');
vbox.style.flex = '1'; vbox.style.flex = '1';
var input = document.createElement('textbox'); var input = document.createElement('textbox');
input.style.width = 'calc(100% - 8px)'; input.style.width = 'calc(100% - 42px)';
input.style.marginLeft = '12px';
input.setAttribute('type', 'search'); input.setAttribute('type', 'search');
input.setAttribute('timeout', '250'); input.setAttribute('timeout', '250');
input.addEventListener('command', () => { input.addEventListener('command', () => {

View file

@ -34,6 +34,8 @@
button { button {
height: 24px; height: 24px;
padding-left: 4px;
padding-right: 4px;
// Necessary on linux to horizontaly center text // Necessary on linux to horizontaly center text
line-height: 0; line-height: 0;
} }