|
|
@ -76,12 +76,10 @@ |
|
|
|
var hasBorder = false |
|
|
|
var hasBorder = false |
|
|
|
if (BI.isNumber(o.height)) { |
|
|
|
if (BI.isNumber(o.height)) { |
|
|
|
if (!isVertical(o.iconPosition)) { |
|
|
|
if (!isVertical(o.iconPosition)) { |
|
|
|
if (o.clear || o.block || o.light) { |
|
|
|
if (!(o.clear && o.block && o.light)) { |
|
|
|
lineHeight = o.height; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
hasBorder = true; |
|
|
|
hasBorder = true; |
|
|
|
lineHeight = o.height; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
lineHeight = o.height; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
lineHeight = textHeight; |
|
|
|
lineHeight = textHeight; |
|
|
|
} |
|
|
|
} |
|
|
|