Updates to table css #59.

This commit is contained in:
mateuswetah 2023-02-28 14:25:36 -03:00
parent a401a56b0e
commit 727ce3e0fb
4 changed files with 10 additions and 3 deletions

View File

@ -114,6 +114,7 @@
padding-right: 0; padding-right: 0;
} }
.collection-miniature{ .collection-miniature{
min-width: 70px;
padding-left: 20px; padding-left: 20px;
text-align: center; text-align: center;
img{ img{

View File

@ -53,6 +53,12 @@
} }
} }
} }
.tainacan-taxonomy-terms-list-container table {
.term-description {
width: 48%;
}
}
.tainacan-taxonomies-pagination-links { .tainacan-taxonomies-pagination-links {
text-align: end; text-align: end;
} }

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
<?php while ( have_posts() ) { <?php while ( have_posts() ) {
the_post(); the_post();
$taxonomy_terms_list = tainacan_get_single_taxonomy_content($post, array( $taxonomy_terms_list = tainacan_get_single_taxonomy_content($post, array(
'before_terms_list_container' => '<div class="mt-5 tainacan-list-post table-responsive">', 'before_terms_list_container' => '<div class="mt-5 tainacan-list-post table-responsive tainacan-taxonomy-terms-list-container">',
'after_terms_list_container' => '</div>', 'after_terms_list_container' => '</div>',
'before_terms_list' => '<table class="table table-hover"> 'before_terms_list' => '<table class="table table-hover">
<thead> <thead>
@ -23,7 +23,7 @@
'after_term_thumbnail' => '</td>', 'after_term_thumbnail' => '</td>',
'before_term_name' => '<td class="collection-title text-oslo-gray">', 'before_term_name' => '<td class="collection-title text-oslo-gray">',
'after_term_name' => '</td>', 'after_term_name' => '</td>',
'before_term_description' => '<td class="collection-description text-oslo-gray">', 'before_term_description' => '<td class="collection-description term-description text-oslo-gray">',
'after_term_description' => '</td>', 'after_term_description' => '</td>',
'before_term_children_link' => '<td>', 'before_term_children_link' => '<td>',
'after_term_children_link' => '</td>', 'after_term_children_link' => '</td>',