Adds 'back to the items list' button on the item navigation section.
This commit is contained in:
parent
d7cdecc036
commit
c5baa84788
|
@ -156,6 +156,7 @@
|
|||
padding-left: 1rem;
|
||||
}
|
||||
.pagination {
|
||||
margin: 0 0.1rem;
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
@ -178,6 +179,7 @@
|
|||
font-weight: 500;
|
||||
color: #338591;
|
||||
margin-left: 4.16666666667%;
|
||||
margin-right: 4.16666666667%;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
header.tainacan-content {
|
||||
|
@ -854,6 +856,7 @@
|
|||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
padding-right: 1rem;
|
||||
margin-bottom: 0.25rem;
|
||||
width: 100%;
|
||||
&:first-of-type:last-of-type {
|
||||
display: inline-block;
|
||||
|
@ -915,9 +918,17 @@
|
|||
}
|
||||
}
|
||||
#item-single-navigation {
|
||||
flex-wrap: wrap;
|
||||
|
||||
.pagination {
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
margin-bottom: 0.25rem;
|
||||
|
||||
&:not(:last-child):not(:first-child) {
|
||||
margin-right: 0.1rem;
|
||||
margin-left: 0.1rem;
|
||||
}
|
||||
}
|
||||
a {
|
||||
position: relative;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -37,6 +37,11 @@
|
|||
<div class="pagination">
|
||||
<?php echo $previous; ?>
|
||||
</div>
|
||||
<div class="pagination">
|
||||
<a class="d-inline-flex align-items-center" href="<?php echo tainacan_get_source_item_list_url(); ?>">
|
||||
<i class="tainacan-icon tainacan-icon-viewtable tainacan-icon-1-25em"></i> <span><?php echo __('Back to the items list', 'tainacan') ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pagination">
|
||||
<?php echo $next; ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue