Fix item tree column resizing issues
Report https://forums.zotero.org/discussion/97077/problem-with-column-width-adjustment
This commit is contained in:
parent
a406e62fd3
commit
eb6b14a218
1 changed files with 2 additions and 1 deletions
|
@ -1486,7 +1486,8 @@ var Columns = class {
|
|||
this._stylesheet.sheet.cssRules[styleIndex].style.setProperty('max-width', `${width}px`, 'important');
|
||||
this._stylesheet.sheet.cssRules[styleIndex].style.setProperty('min-width', `${width}px`, 'important');
|
||||
} else {
|
||||
width = (width - COLUMN_PADDING) * COLUMN_NORMALIZATION_WIDTH / headerWidth;
|
||||
width = (width - COLUMN_PADDING);
|
||||
Zotero.debug(`Columns ${dataKey} width ${width}`);
|
||||
this._stylesheet.sheet.cssRules[styleIndex].style.setProperty('flex-basis', `${width}px`);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue