Try to detect the need for height instead of min-height in the aligner component.