Change max-height with JavaScript

Edit This Code :
Result :