[FIX] website_sale_options: on webshop, display attributes

Before this commit, when the names and values of the attributes on an optional
product were too long (and it did not take that much)
The display was broken into lines

After this commit, the container of the attributes works in standalone and won't break
but, on very small devices, it is not ideal either

OPW 1888416

closes odoo/odoo#27279
This commit is contained in:
Lucas Perais (lpe)
2018-09-27 11:42:13 +00:00
parent 28d79fc939
commit 798d21ee3f
@@ -90,17 +90,16 @@
<input type="hidden" class="product_id" t-attf-name="optional-product-#{product_index}" t-att-value="product.product_variant_id.id if len(product.product_variant_ids) == 1 else '0'"/>
<span t-field="product.image_small" t-options='{"widget": "image"}'/>
</td>
<td class='td-product_name'>
<td class='td-product_name' colspan="2">
<div class="pull-left">
<strong class="media-heading" t-field="product.name"/>
<div class="text-muted small" t-field="product.description_sale"/>
</div>
</td>
<td class="td-qty">
<div class="pull-right">
<div class="pull-right">
<t t-call="website_sale.variants"/>
</div>
</td>
<td class="td-price">
<span class="text-danger oe_default_price oe_optional"
t-field="product.lst_price"