Fix p tag bug and textinput layout