[DE] Navigation refactoring: always show scrollbar, scroll to current header.
This commit is contained in:
parent
e51c72052e
commit
7ec3d4170f
|
@ -37,7 +37,7 @@
|
|||
.tree-item {
|
||||
width: 100%;
|
||||
min-height: 28px;
|
||||
padding: 0px 0 0 24px;
|
||||
padding: 0px 6px 0 24px;
|
||||
}
|
||||
|
||||
.name {
|
||||
|
|
|
@ -153,7 +153,7 @@ define([
|
|||
},
|
||||
|
||||
onChangeOutlinePosition: function(index) {
|
||||
this.panelNavigation.viewNavigationList.selectByIndex(index);
|
||||
this.panelNavigation.viewNavigationList.scrollToRecord(this.panelNavigation.viewNavigationList.selectByIndex(index));
|
||||
},
|
||||
|
||||
onItemContextMenu: function(picker, item, record, e){
|
||||
|
|
|
@ -17,9 +17,12 @@
|
|||
#navigation-list {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
padding: 8px 0;
|
||||
font-size: 12px;
|
||||
|
||||
.treeview {
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.name.not-header {
|
||||
font-style: italic;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue