Change layout of doc field table

Frappe has a doc field called table which renders another doctype in another doctype, but it has a table view, what if we want to change the layout of it vertically like faq’s

Question
Input HTML tag

Answer
Textarea


Question
Input HTML tag

Answer
Textarea


Question
Input HTML tag

Answer
Textarea


In short table to repeatable verticle repeating form fields.