Fixes scratching image on document and thumbnail for item page.
This commit is contained in:
parent
3c06fd6155
commit
0980f36f23
|
@ -64,12 +64,13 @@
|
|||
.single-item-collection--document{
|
||||
iframe, img.attachment-large {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.single-item-collection--information{
|
||||
.card{
|
||||
.item-card--thumbnail{
|
||||
height: 250px;
|
||||
height: auto;
|
||||
width: 250px;
|
||||
}
|
||||
h3{
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<?php if ( tainacan_current_view_displays('thumbnail') ): ?>
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<?php the_post_thumbnail('thumbnail', array('class' => 'mr-4')); ?>
|
||||
<?php the_post_thumbnail('medium', array('class' => 'mr-4')); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
@ -9,12 +9,22 @@
|
|||
<div class="frame">
|
||||
<div class="mat">
|
||||
<div class="art">
|
||||
<?php the_post_thumbnail('medium'); ?>
|
||||
<?php if ( tainacan_current_view_displays('thumbnail') ): ?>
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<?php the_post_thumbnail('medium'); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="metadata-title"><?php the_title(); ?></p>
|
||||
<?php if ( tainacan_current_view_displays('title') ): ?>
|
||||
<p class="metadata-title">
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue