Fix CSS classes on bookshelf template

This commit is contained in:
Tetrakern 2024-01-27 00:59:17 +01:00
parent bdf361aff4
commit ad6ea2ff38
2 changed files with 4 additions and 4 deletions

View File

@ -129,8 +129,8 @@ $tabs[ $current_tab ]['classes'][] = '_current';
</section>
<?php endif; ?>
<section id="list" class="bookshelf__list">
<ul id="ajax-bookshelf-target" data-tab="<?php echo $current_tab; ?>" data-action="<?php echo $tabs[ $current_tab ]['action']; ?>" data-page="<?php echo get_query_var( 'pg', 1 ); ?>" data-order="<?php echo $order; ?>" class="bookshelf__list card-list">
<section id="list" class="bookshelf__list container-inline-size">
<ul id="ajax-bookshelf-target" data-tab="<?php echo $current_tab; ?>" data-action="<?php echo $tabs[ $current_tab ]['action']; ?>" data-page="<?php echo get_query_var( 'pg', 1 ); ?>" data-order="<?php echo $order; ?>" class="card-list">
<?php for ( $i = 0; $i < 3; $i++ ) : ?>
<li class="card _skeleton">

View File

@ -160,8 +160,8 @@ $tabs[ $current_tab ]['classes'][] = '_current';
);
?>
<section id="list" class="bookshelf__list">
<ul class="bookshelf__list card-list _no-mutation-observer">
<section id="list" class="bookshelf__list container-inline-size">
<ul class="card-list _no-mutation-observer">
<?php
$list_items = fictioneer_get_card_list(
'story',