Adding height:100% to main div to fix display issues with long console input