Adjust sizing of notes pane search bar and + buttons
This commit is contained in:
parent
ebf45a3232
commit
590b6b4a34
2 changed files with 4 additions and 1 deletions
|
@ -426,7 +426,8 @@ var ZoteroContextPane = new function () {
|
|||
var vbox = document.createElement('vbox');
|
||||
vbox.style.flex = '1';
|
||||
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('timeout', '250');
|
||||
input.addEventListener('command', () => {
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
|
||||
button {
|
||||
height: 24px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
// Necessary on linux to horizontaly center text
|
||||
line-height: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue