Updated block styling and height algorithm.