Fix main content height setting on resource show page.