mirror of https://github.com/laurent22/joplin.git
Desktop: Made sidebar chevrons consistent
parent
1fec7d5558
commit
9eac63c021
|
@ -572,7 +572,7 @@ class SideBarComponent extends React.Component {
|
||||||
const toggleKey = `${key}IsExpanded`;
|
const toggleKey = `${key}IsExpanded`;
|
||||||
if (extraProps.toggleblock) {
|
if (extraProps.toggleblock) {
|
||||||
const isExpanded = this.state[toggleKey];
|
const isExpanded = this.state[toggleKey];
|
||||||
toggleIcon = <i className={`fas ${isExpanded ? 'fa-chevron-down' : 'fa-chevron-left'}`} style={{ fontSize: style.fontSize * 0.75, marginRight: 12, marginLeft: 5, marginTop: style.fontSize * 0.125 }}></i>;
|
toggleIcon = <i className={`fas ${isExpanded ? 'fa-chevron-down' : 'fa-chevron-right'}`} style={{ fontSize: style.fontSize * 0.75, marginRight: 12, marginLeft: 5, marginTop: style.fontSize * 0.125 }}></i>;
|
||||||
}
|
}
|
||||||
if (extraProps.selected) {
|
if (extraProps.selected) {
|
||||||
style.backgroundColor = this.style().listItemSelected.backgroundColor;
|
style.backgroundColor = this.style().listItemSelected.backgroundColor;
|
||||||
|
|
Loading…
Reference in New Issue