fix #2558 (list icon border-radius)
This commit is contained in:
parent
5862a7066c
commit
1b9df27136
1 changed files with 6 additions and 4 deletions
|
@ -329,12 +329,14 @@ pandora.ui.listInfo = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getIconCSS() {
|
function getIconCSS() {
|
||||||
var size = Math.round(pandora.user.ui.sidebarSize / 2);
|
var list = pandora.user.ui.section == 'items' ? pandora.user.ui._list : ui[folderItem.toLowerCase()],
|
||||||
return {
|
size = Math.round(pandora.user.ui.sidebarSize / 2);
|
||||||
|
return Ox.extend({
|
||||||
width: size + 'px',
|
width: size + 'px',
|
||||||
height: size + 'px',
|
height: size + 'px'
|
||||||
|
}, list ? {
|
||||||
borderRadius: Math.round(size / 4) + 'px'
|
borderRadius: Math.round(size / 4) + 'px'
|
||||||
};
|
} : {});
|
||||||
}
|
}
|
||||||
|
|
||||||
that.resizeInfo = function() {
|
that.resizeInfo = function() {
|
||||||
|
|
Loading…
Reference in a new issue