[IMP] report: widen company address space on reports

Change the external_layout_header, with the use of
span tag and display inline-block property instead
of div tag, because without using it, the address
under-line occupied the whole col-xs-6 block, for
small address also. By using display inline-block
the length of address underline will same as length
of address. And col-xs-6 will increase the address
space for log address lines.
This commit is contained in:
Kinjal Mehta
2016-08-10 09:55:05 +02:00
committed by David Monjoie
parent 6caea2a938
commit 4c419f2bc1
+4 -4
View File
@@ -105,10 +105,10 @@
</div>
</div>
<div class="row">
<div class="col-xs-3" name="company_address">
<div t-field="company.partner_id"
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
style="border-bottom: 1px solid black;"/>
<div class="col-xs-6" name="company_address">
<span t-field="company.partner_id"
t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'
style="border-bottom: 1px solid black; display:inline-block;"/>
</div>
</div>
</div>