Skip to content

Commit

Permalink
Better method of formatting pdf.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Eichar committed Jun 24, 2015
1 parent de557b8 commit 86fb571
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
9 changes: 8 additions & 1 deletion web-ui/src/main/resources/catalog/style/gn_metadata_pdf.less
Expand Up @@ -31,11 +31,18 @@
line-height: 1.428571429;
}
dt {
clear: left;
float: left;
width: 160px;
font-style: italic;
font-size: 15px;
font-size: 13px;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
dd {
display: block;
margin-left: 180px;
padding-left: 10px;
border-left: 1px solid #999999;
Expand Down
@@ -1,6 +1,4 @@
<span fmt-if="text" fmt-only-children="true" class="md-text">
<div class="md-text">
<dt>{{label | escapeXmlContent}}</dt>
<dd>{{text | escapeXmlContent}}</dd>
</div>
<dt>{{label | escapeXmlContent}}</dt>
<dd>{{text | escapeXmlContent}}</dd>
</span>
@@ -1,6 +1,4 @@
<span fmt-if="text" fmt-only-children="true" class="md-text">
<div class="md-text">
<dt>{{label | escapeXmlContent}}</dt>
<dd><a href="{{href | escapeXmlAttrs}}" title="{{href | escapeXmlAttrs}}">{{text | escapeXmlContent}}</a></dd>
</div>
<dt>{{label | escapeXmlContent}}</dt>
<dd><a href="{{href | escapeXmlAttrs}}" title="{{href | escapeXmlAttrs}}">{{text | escapeXmlContent}}</a></dd>
</span>

0 comments on commit 86fb571

Please sign in to comment.