layout changes for input type