NIHVIVO-1710: Fixed spacing for additional links

This commit is contained in:
mb863 2011-01-17 16:29:30 +00:00
parent 0cf2822237
commit 7e971dbef3
2 changed files with 8 additions and 8 deletions

View file

@ -93,10 +93,11 @@ div.bottom{
}
#share-contact h3{
margin-top: 15px;
padding-bottom: 0;
line-height: .6em;
padding-bottom: .3em;
font-size: 1em;
line-height: 1.2em;
}
#share-contact img.individual-photo2{
#share-contact img.individual-photo{
width: 160px;
height: 160px;
float: left;
@ -176,14 +177,13 @@ ul.individual-urls li a{
}
ul.individual-urls-people{
clear: both;
margin-top: 20px;
list-style: none;
list-style-type: circle;
padding-left: 24px;
}
ul.individual-urls-people li{
font-size: .875em;
line-height: 1.2em;
line-height: 1.3em;
}
/* <------ INDIVIDUAL RIGHT CONTENT */
#individual-info{
@ -352,7 +352,7 @@ article.property ul.property-list li{
}
article.property ul.subclass-property-list{
margin-left: 0;
}
}#share-contact h3
article.property ul.subclass-property-list li{
line-height: 1.2em;
padding: 0 20px 10px 20px;

View file

@ -118,12 +118,12 @@ name will be used as the label. -->
<#-- Don't assume that if the mainImage property is populated, there is a thumbnail image (though that is the general case).
If there's a mainImage statement but no thumbnail image, treat it as if there is no image. -->
<#if (mainImage.statements)?has_content && thumbUrl?has_content>
<a href="${individual.imageUrl}"><img class="individual-photo" src="${thumbUrl}" title="click to view larger image" alt="${individual.name}" width="115" /></a>
<a href="${individual.imageUrl}"><img class="individual-photo" src="${thumbUrl}" title="click to view larger image" alt="${individual.name}" width="160" /></a>
<@p.editingLinks mainImage.statements[0] showEditLinks />
<#else>
<@p.addLinkWithLabel mainImage showEditLinks "Photo" />
<#if placeholderImage?has_content>
<img class="individual-photo" src="${placeholderImage}" title = "no image" alt="placeholder image" width="115" />
<img class="individual-photo" src="${placeholderImage}" title = "no image" alt="placeholder image" width="160" />
</#if>
</#if>