fix height of element's horizontal bar