Comment 10 for bug 1741299

Revision history for this message
Blake GH (bmagic) wrote :

Here is an example template where CSS does work:

<style>
table tr td pre {
font-weight: bold;
font-size: 19pt;
width: 150px;
}
</style>

<table class="labels" style="page-break-after: always;" ng-repeat="copy in copies" ><tr valign="top"><td>

<!-- Spine Label contents -->
<pre class="spine" style="text-align:left;font-size:12pt;border:none;margin-left:20px" ng-show="true">
{{get_cn_for(copy)}}
</pre>

</td><td>

<!-- Pocket Label contents -->
<pre class="pocket" style="border:none;left-margin:20px;font-size:10pt;" ng-show="true">
{{copy.barcode}}
{{copy['call_number.label']}}
{{get_bib_for(copy).author }}
{{get_bib_for(copy).title | wrap:28:'once':' '}}
</pre>

</td></tr></table>