Adjusts empty links for download document.
This commit is contained in:
parent
6ba21d2085
commit
7cadf68ea3
|
@ -374,7 +374,7 @@
|
|||
content: "";
|
||||
}
|
||||
&.single-item-collection{
|
||||
min-height: 23.5vh;
|
||||
min-height: 10vh;
|
||||
position: relative;
|
||||
.single-item-collection--document {
|
||||
&:hover {
|
||||
|
|
|
@ -38,9 +38,9 @@
|
|||
<section class="tainacan-content single-item-collection margin-two-column">
|
||||
<div class="single-item-collection--document">
|
||||
<?php tainacan_the_document(); ?>
|
||||
<?php if(function_exists('tainacan_the_item_document_download_link')) {
|
||||
<?php if( function_exists('tainacan_the_item_document_download_link') && tainacan_the_item_document_download_link() != '' ) {
|
||||
echo '<span class="tainacan-item-document-download">';
|
||||
tainacan_the_item_document_download_link();
|
||||
echo tainacan_the_item_document_download_link();
|
||||
echo '</span>';
|
||||
} ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue