added max-height pointer-events and content