Vertically align public layout to better fit small mobile screens

Fixes #8113