summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/ace.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-04-27 16:01:09 +0200
committerqsm-odoo <qsm@odoo.com>2018-07-27 12:36:54 +0200
commit81f359c81c69af2a5ec0645602e2bb43b2e16721 (patch)
treedc3ebb2391acf9c3e51def6dc1407586c8d9e2cb /addons/web_editor/static/src/xml/ace.xml
parent7f10b55a5035bd3cab48ba58a519510a25b94f60 (diff)
[REF] *: BS4, remove the use of btn-sm
Odoo made the bad choice of using the 'btn-sm' class for every button instead of configuring the padding for default 'btn' to be smaller. In BS4, the style of btn-sm is actually more complex, lowering the font-size too. Also, btn-xs was removed so we would not have the possibility to display smaller button than our default ones. This commit removes btn-sm wherever it was used. Unfortunately, this might remove it at some places where it made sense but this can be restored in a second time.
Diffstat (limited to 'addons/web_editor/static/src/xml/ace.xml')
-rw-r--r--addons/web_editor/static/src/xml/ace.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web_editor/static/src/xml/ace.xml b/addons/web_editor/static/src/xml/ace.xml
index b65af78b3dc..4380a73ae54 100644
--- a/addons/web_editor/static/src/xml/ace.xml
+++ b/addons/web_editor/static/src/xml/ace.xml
@@ -5,7 +5,7 @@
<div class="o_ace_view_editor">
<div class="form-inline o_ace_view_editor_title">
<div class="btn-group o_ace_type_switcher">
- <button type="button" class="btn btn-sm btn-info dropdown-toggle" data-toggle="dropdown">XML (HTML)</button>
+ <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">XML (HTML)</button>
<ul class="dropdown-menu" role="menu">
<li><a role="menuitem" href="#" class="o_ace_type_switcher_choice" data-type="xml">XML (HTML)</a></li>
<li><a role="menuitem" href="#" class="o_ace_type_switcher_choice" data-type="scss">SCSS (CSS)</a></li>
@@ -26,8 +26,8 @@
Include All SCSS Files
</label>
<div class="o_button_section">
- <button data-action="save" type="submit" class="btn btn-sm btn-primary">Save</button>
- <button data-action="close" type="button" class="btn btn-sm btn-default">Close</button>
+ <button data-action="save" type="submit" class="btn btn-primary">Save</button>
+ <button data-action="close" type="button" class="btn btn-default">Close</button>
</div>
</div>
<div id="ace-view-id">