fix icon item info css

This commit is contained in:
rlx 2013-03-04 15:03:54 +00:00
parent fcd3089329
commit d3f39c29f2

View file

@ -57,6 +57,7 @@ Ox.IconItem = function(options, self) {
self.options.info.css(Ox.extend(self.options.info.css('width') == '0px' ? { self.options.info.css(Ox.extend(self.options.info.css('width') == '0px' ? {
width: Math.round(self.options.itemWidth / 2) + 'px' width: Math.round(self.options.itemWidth / 2) + 'px'
} : {}, { } : {}, {
padding: 0,
margin: '1px auto', margin: '1px auto',
fontSize: self.fontSize + 'px', fontSize: self.fontSize + 'px',
textShadow: 'none' textShadow: 'none'