NIHVIVO-3142: Fixed some display issues when exporting QR codes.

This commit is contained in:
manolobevia 2011-09-06 15:03:02 +00:00
parent 187ae268c8
commit c0202b0ad6
2 changed files with 3 additions and 1 deletions

View file

@ -2,9 +2,11 @@
.qrCode { .qrCode {
float: left; float: left;
padding-left: .7em;
} }
img.qrCode { img.qrCode {
margin-bottom: 2em; margin-bottom: 2em;
padding-left: 0;
} }
.vcard { .vcard {
clear: left; clear: left;

View file

@ -9,7 +9,7 @@
<h2>Export QR Code <em>(<a href="${individual.qrData().aboutQrCodesUrl}" title="More info on QR codes">What is this?</a>)</em></h2> <h2>Export QR Code <em>(<a href="${individual.qrData().aboutQrCodesUrl}" title="More info on QR codes">What is this?</a>)</em></h2>
<#assign thumbUrl = individual.thumbUrl! "${urls.images}/placeholders/person.thumbnail.jpg" > <#assign thumbUrl = individual.thumbUrl! "${urls.images}/placeholders/person.thumbnail.jpg" >
<img class="qrCode" src="${thumbUrl}" width="160" /> <img class="individual-photo qrCode" src="${thumbUrl}" width="160" />
<h3 class="qrCode"><a href="${individual.profileUrl}" title="View this person's profile">${individual.nameStatement.value}</a></h3> <h3 class="qrCode"><a href="${individual.profileUrl}" title="View this person's profile">${individual.nameStatement.value}</a></h3>