Improves empty tabs section display.
This commit is contained in:
parent
704315d9d1
commit
3fd5ad151e
|
@ -681,6 +681,7 @@
|
||||||
}
|
}
|
||||||
input:checked+label+.tainacan-metadata-section {
|
input:checked+label+.tainacan-metadata-section {
|
||||||
display: block;
|
display: block;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
label {
|
label {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -140,7 +140,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>' . do_action( 'tainacan-interface-single-item-metadata-end' ),
|
</section>' . do_action( 'tainacan-interface-single-item-metadata-end' ),
|
||||||
'metadata_list_args' => $metadata_args
|
'metadata_list_args' => $metadata_args,
|
||||||
|
'hide_empty' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
echo '<div class="single-item-collection--section-metadata--layout-tabs mt-3 tainacan-single-post">';
|
echo '<div class="single-item-collection--section-metadata--layout-tabs mt-3 tainacan-single-post">';
|
||||||
|
@ -172,7 +173,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>' . do_action( 'tainacan-interface-single-item-metadata-end' ),
|
</section>' . do_action( 'tainacan-interface-single-item-metadata-end' ),
|
||||||
'metadata_list_args' => $metadata_args
|
'metadata_list_args' => $metadata_args,
|
||||||
|
'hide_empty' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
echo '<div class="single-item-collection--section-metadata--layout-collapses mt-3 tainacan-single-post">';
|
echo '<div class="single-item-collection--section-metadata--layout-collapses mt-3 tainacan-single-post">';
|
||||||
|
@ -205,7 +207,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>' . do_action( 'tainacan-interface-single-item-metadata-end' ),
|
</section>' . do_action( 'tainacan-interface-single-item-metadata-end' ),
|
||||||
'metadata_list_args' => $metadata_args
|
'metadata_list_args' => $metadata_args,
|
||||||
|
'hide_empty' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
echo '<div class="single-item-collection--section-metadata--layout-accordion mt-3 tainacan-single-post">';
|
echo '<div class="single-item-collection--section-metadata--layout-accordion mt-3 tainacan-single-post">';
|
||||||
|
@ -228,7 +231,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>' . do_action( 'tainacan-interface-single-item-metadata-end' ),
|
</section>' . do_action( 'tainacan-interface-single-item-metadata-end' ),
|
||||||
'metadata_list_args' => $metadata_args
|
'metadata_list_args' => $metadata_args,
|
||||||
|
'hide_empty' => true
|
||||||
);
|
);
|
||||||
tainacan_the_metadata_sections( $args );
|
tainacan_the_metadata_sections( $args );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue