[FIX] pos, survey: wrong usage of col & row bootstrap classes
This commit fixes some wrong usage of the bootstrap class `col` & `row`: - POS: Missing the child `col` on `row` parent; - Survey: Using the class `col` to center the node on the parent div; closes odoo/odoo#101046 X-original-commit: acacf52d40a41b53aa78967748602cb3b1e62261 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<div class="content-group">
|
||||
<div class="row flex-row flex-nowrap mt8 align-items-center">
|
||||
<label class="col text-nowrap ml8 flex-nowrap" string="Point of Sale" for="pos_config_id"/>
|
||||
<field name="pos_config_id" options="{'no_open': True, 'no_create': True}" title="Settings on this page will apply to this point of sale."/>
|
||||
<field name="pos_config_id" class="col" options="{'no_open': True, 'no_create': True}" title="Settings on this page will apply to this point of sale."/>
|
||||
<button name="action_pos_config_create_new" type="object" string="+ New Shop" class="col btn-link ms-2 text-nowrap" style="line-height: 0.5;"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<field name="question_type" widget="radio" attrs="{'required': [('is_page', '=', False)]}" />
|
||||
</group>
|
||||
<group>
|
||||
<div class="col-lg-6 offset-lg-3 d-none d-sm-block o_preview_questions">
|
||||
<div class="mx-lg-auto w-lg-50 d-none d-sm-block o_preview_questions">
|
||||
<!-- Multiple choice: only one answer -->
|
||||
<div attrs="{'invisible': [('question_type', '!=', 'simple_choice')]}" role="img" aria-label="Multiple choice with one answer"
|
||||
title="Multiple choice with one answer">
|
||||
|
||||
Reference in New Issue
Block a user