summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/editor.xml
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-09-10 11:23:57 +0200
committerRomain Derie <rde@odoo.com>2018-09-12 11:30:16 +0200
commit4fb73a3de0e73920aa04582ea530c4f3bd0cc825 (patch)
tree8dec299598aa85677130d6ecfe92892aacddc51c /addons/web_editor/static/src/xml/editor.xml
parent51f38a84668692bae1e3736f62d884b063e7d3fd (diff)
[FIX] web_editor: BS4 input group button height glitch
As an `form-group` can contains element having `form-control` class and other not having it, we should not force height on `form-group` elements. Typically, we could have: div.form-group input.form-control button Forcing height only on `form-control` will make the input thinner than the button.
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
-rw-r--r--addons/web_editor/static/src/xml/editor.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/xml/editor.xml b/addons/web_editor/static/src/xml/editor.xml
index fb6d3b7a57d..76369f1fc98 100644
--- a/addons/web_editor/static/src/xml/editor.xml
+++ b/addons/web_editor/static/src/xml/editor.xml
@@ -85,7 +85,7 @@
<input t-if="widget.options.res_id" type="hidden" name="res_id" t-att-value="widget.options.res_id"/>
<input t-if="widget.options.res_model" type="hidden" name="res_model" t-att-value="widget.options.res_model"/>
<div class="card">
- <div class="card-body">
+ <div class="card-body p-0">
<div class="form-inline">
<input type="file" class="d-none" name="upload" t-att-accept="widget.accept" multiple="multiple"/>
<input type="hidden" name="disable_optimization" value=""/>