Fixes media class on terms list.

This commit is contained in:
mateuswetah 2023-05-29 11:53:59 -03:00
parent 9fa68ca82f
commit 6ebca214e4
6 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@
}
}
.entries:not([data-layout="grid"]) article > .ct-image-container {
.entries:not([data-layout="grid"]) article > .ct-media-container {
@media (min-width: 690px) {
max-width: 20%;
}

View File

@ -1028,7 +1028,7 @@ body:not(.tainacan-admin-page) .tainacan-modal-content .modal-card-body {
}
@media (min-width: 690px) {
.tainacan-taxonomy-terms-list-container .entries:not([data-layout="grid"]) article > .ct-image-container {
.tainacan-taxonomy-terms-list-container .entries:not([data-layout="grid"]) article > .ct-media-container {
max-width: 20%;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -196,7 +196,7 @@ $hide_term_items_count = (isset($items_link_element['show_term_items_count']) ?
'after_term_children_link' => '</li>',
'before_term_items_link' => '<li class="meta-date term-items-link">',
'after_term_items_link' => '</li>',
'before_term_thumbnail' => '<figure class="term-thumbnail ct-image-container ' . ( $is_image_boundless ? 'boundless-image' : '' ) .'">',
'before_term_thumbnail' => '<figure class="term-thumbnail ct-media-container ' . ( $is_image_boundless ? 'boundless-image' : '' ) .'">',
'after_term_thumbnail' => '</figure>',
'hide_term_children_count' => $hide_term_children_count,
'hide_term_items_count' => $hide_term_items_count,