Should be using max-height not height.