[IMP] website_event_questions: Extend title size

Avoid truncated question display by making the question
field to take all available horizontal space.

Task-2996467

X-original-commit: 36d59304617991cedf6aca18a91a31b0967aebd0
Part-of: odoo/odoo#102547
This commit is contained in:
amdi-odoo
2022-10-07 11:13:19 +02:00
parent 1d43d74b6d
commit 9678df1f99
2 changed files with 2 additions and 2 deletions
@@ -6,7 +6,7 @@
<field name="arch" type="xml">
<form string="Question">
<sheet>
<h1><field name="title" placeholder='e.g. "Do you have any diet restrictions?"' /></h1>
<h1 class="d-flex"><field name="title" placeholder='e.g. "Do you have any diet restrictions?"' class="flex-grow-1"/></h1>
<group>
<group>
<field name="is_mandatory_answer"/>
@@ -45,7 +45,7 @@
We need this because we create questions and answers when the event type changes. -->
<form string="Question">
<sheet>
<h1><field name="title" placeholder='e.g. "Do you have any diet restrictions?"' /></h1>
<h1 class="d-flex"><field name="title" placeholder='e.g. "Do you have any diet restrictions?"' class="flex-grow-1"/></h1>
<group>
<group>
<field name="is_mandatory_answer"/>