summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/report.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/static/src/xml/report.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/static/src/xml/report.xml')
-rw-r--r--addons/web/static/src/xml/report.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/report.xml b/addons/web/static/src/xml/report.xml
index c578add8ce9..927502e19ac 100644
--- a/addons/web/static/src/xml/report.xml
+++ b/addons/web/static/src/xml/report.xml
@@ -8,14 +8,14 @@
<!-- Buttons of the Control Panel -->
<t t-name="report.client_action.ControlButtons">
<div class="o_report_no_edit_mode">
- <button type="button" class="btn btn-primary btn-sm o_report_print" title="Print">Print</button>
+ <button type="button" class="btn btn-primary o_report_print" title="Print">Print</button>
</div>
<div class="o_edit_mode_available">
- <button type="button" class="btn btn-default btn-sm o_report_edit" title="Edit">Edit</button>
+ <button type="button" class="btn btn-default o_report_edit" title="Edit">Edit</button>
</div>
<div class="o_report_edit_mode">
- <button type="button" class="btn btn-primary btn-sm o_report_save" title="Save">Save</button>
- <button type="button" class="btn btn-default btn-sm o_report_discard" title="Discard">Discard</button>
+ <button type="button" class="btn btn-primary o_report_save" title="Save">Save</button>
+ <button type="button" class="btn btn-default o_report_discard" title="Discard">Discard</button>
</div>
</t>
</template> \ No newline at end of file