Layout fixes for cotenteditabes' inputs