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() {
|
||||
var size = Math.round(pandora.user.ui.sidebarSize / 2);
|
||||
return {
|
||||
var list = pandora.user.ui.section == 'items' ? pandora.user.ui._list : ui[folderItem.toLowerCase()],
|
||||
size = Math.round(pandora.user.ui.sidebarSize / 2);
|
||||
return Ox.extend({
|
||||
width: size + 'px',
|
||||
height: size + 'px',
|
||||
height: size + 'px'
|
||||
}, list ? {
|
||||
borderRadius: Math.round(size / 4) + 'px'
|
||||
};
|
||||
} : {});
|
||||
}
|
||||
|
||||
that.resizeInfo = function() {
|
||||
|
|
Loading…
Reference in a new issue