mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Make vfsPath scrolling available
This commit is contained in:
parent
8ee2e719de
commit
07c768e732
@ -292,7 +292,9 @@ var et2_vfsPath = (function(){ "use strict"; return et2_vfsName.extend(
|
||||
|
||||
this.div.prepend(this.input);
|
||||
this.setDOMNode(this.div[0]);
|
||||
|
||||
this.span.on('wheel', function(e){
|
||||
this.scrollLeft = this.scrollLeft - (e.originalEvent.wheelDelta/10);
|
||||
});
|
||||
this.input.on('focus', function() {
|
||||
this.input.val(this.options.value);
|
||||
this.span.hide();
|
||||
|
@ -907,7 +907,25 @@ div.et2_vfsPath ul {
|
||||
/* This hides the higher level directories if overflow */
|
||||
direction: rtl;
|
||||
height: 100%;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 13px;
|
||||
max-width: 92%;
|
||||
margin-right: 7%;
|
||||
}
|
||||
div.et2_vfsPath ul::-webkit-scrollbar {
|
||||
background: transparent;
|
||||
overflow-y: hidden;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
div.et2_vfsPath ul::-webkit-scrollbar-thumb {
|
||||
background: transparent;
|
||||
width: 1px;
|
||||
border-radius: 0px;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
div.et2_vfsPath li {
|
||||
direction: ltr;
|
||||
display: inline-block;
|
||||
|
Loading…
Reference in New Issue
Block a user