[FIX] website_sale: "Confirm order" button had fixed width

Putting fixed width on button is obviously always a bad idea as
traduction may change the inner text size. Besides, removing the
fixed width does not change the design anyway.
This commit is contained in:
qsm-odoo
2017-05-11 17:05:38 +02:00
parent d068c4cac1
commit 7fc788b694
+1 -1
View File
@@ -1395,7 +1395,7 @@
<div class="col-sm-12">
<form target="_self" action="/shop/payment/validate" method="post" class="pull-right">
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()" />
<a style="width:127px;" class="btn btn-primary a-submit">
<a class="btn btn-primary a-submit">
<span t-if="order.amount_total &gt; 0">Pay Now <span class="fa fa-long-arrow-right"></span></span>
<span t-if="order.amount_total == 0">Confirm Order <span class="fa fa-long-arrow-right"></span></span>
</a>