diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-05-29 14:41:58 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-05-29 14:41:58 +0200 |
| commit | 0bb3f21964219073a261b493a2d24560609987c3 (patch) | |
| tree | 493208979b3f47ee402f6bd906950042b8d017d0 /addons/web/static/src/xml | |
| parent | bbf724e4012e983d56bea27b66caa204294ebda6 (diff) | |
[FIX] web: domain selector's inputs design
Since the new views, the 'o_input' class has to be added on form
elements for them to be correctly styled.
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 043dee026c5..ccbf030ff1b 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -603,7 +603,7 @@ <div t-if="!widget.readonly" class="o_domain_leaf_edition"> <!-- field selector will be instantiated here --> <div> <!-- used for flex stretching --> - <select class="o_domain_leaf_operator_select"> + <select class="o_domain_leaf_operator_select o_input"> <option t-foreach="widget.operators" t-as="key" t-att-value="key" t-att-selected="widget.displayOperator === key ? 'selected' : None"> @@ -613,7 +613,7 @@ </div> <div t-attf-class="o_ds_value_cell#{_.contains(['set', 'not set'], widget.displayOperator) ? ' hidden' : ''}"> <t t-if="widget.selectionChoices !== null"> - <select class="o_domain_leaf_value_input"> + <select class="o_domain_leaf_value_input o_input"> <option t-foreach="widget.selectionChoices" t-as="val" t-att-value="val[0]" t-att-selected="_.contains(val, widget.displayValue) ? 'selected' : None"> @@ -629,12 +629,12 @@ </span> </div> <div class="o_domain_leaf_value_tags"> - <input placeholder="Add new value" type="text"/> + <input placeholder="Add new value" type="text" class="o_input"/> <button class="btn btn-xs btn-primary fa fa-plus o_domain_leaf_value_add_tag_button"/> </div> </t> <t t-else=""> - <input class="o_domain_leaf_value_input" type="text" t-att-value="widget.displayValue"/> + <input class="o_domain_leaf_value_input o_input" type="text" t-att-value="widget.displayValue"/> </t> </t> </div> |
