forked from 0x2620/pandora
update filter select css
This commit is contained in:
parent
b34104a6c4
commit
30850ccd81
1 changed files with 71 additions and 65 deletions
|
@ -160,8 +160,8 @@ pandora.ui.filter = function(id) {
|
||||||
filters[i].sort = [{key: data.key, operator: data.operator}];
|
filters[i].sort = [{key: data.key, operator: data.operator}];
|
||||||
pandora.UI.set({filters: filters});
|
pandora.UI.set({filters: filters});
|
||||||
}
|
}
|
||||||
});
|
}),
|
||||||
Ox.Select({
|
$select = Ox.Select({
|
||||||
items: Ox.clone(pandora.site.filters),
|
items: Ox.clone(pandora.site.filters),
|
||||||
max: 1,
|
max: 1,
|
||||||
min: 1,
|
min: 1,
|
||||||
|
@ -226,6 +226,12 @@ pandora.ui.filter = function(id) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.appendTo(that.$bar.$element);
|
.appendTo(that.$bar.$element);
|
||||||
|
Ox.UI.SCROLLBAR_SIZE < 16 && $($select.find('input')[0]).css({
|
||||||
|
marginRight: '-3px',
|
||||||
|
marginTop: '1px',
|
||||||
|
width: '8px',
|
||||||
|
height: '8px'
|
||||||
|
});
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue