added method to calculate line-height property based on font-size and base line-height