1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Electron: Fixed tag display

This commit is contained in:
Laurent Cozic 2018-05-09 15:31:42 +01:00
parent 2e16cc5433
commit 74827e5324

View File

@ -156,6 +156,10 @@ class SideBarComponent extends React.Component {
},
};
style.tagItem = Object.assign({}, style.listItem);
style.tagItem.paddingLeft = 23;
style.tagItem.height = itemHeight;
return style;
}
@ -318,7 +322,7 @@ class SideBarComponent extends React.Component {
}
tagItem(tag, selected) {
let style = Object.assign({}, this.style().listItem);
let style = Object.assign({}, this.style().tagItem);
if (selected) style = Object.assign(style, this.style().listItemSelected);
return (
<a