Set min-height instead of height. This should work in all the cases height does, and also let the component be used in situations like a flex box, where the desired height might be greater than that of the framed content.