Fix pivot table pagination being to narrow when only one vertical level exists
This commit is contained in:
parent
ade2121302
commit
c03268414f
|
@ -36,8 +36,6 @@ $yAxisPages = $yAxisPaginator->getPages('all');
|
||||||
$xAxisPage === $xAxisPages->last ? $xAxisPages->totalItemCount : $xAxisPage * $xAxisPages->itemCountPerPage,
|
$xAxisPage === $xAxisPages->last ? $xAxisPages->totalItemCount : $xAxisPage * $xAxisPages->itemCountPerPage,
|
||||||
$xAxisPages->totalItemCount
|
$xAxisPages->totalItemCount
|
||||||
); ?>"></a>
|
); ?>"></a>
|
||||||
<?php else: ?>
|
|
||||||
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</td>
|
</td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
|
|
@ -497,14 +497,16 @@ div.pivot-pagination {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
table-layout: fixed;
|
||||||
border-spacing: 0.2em;
|
border-spacing: 0.2em;
|
||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
border: 1px solid LightGrey;
|
border: 1px solid LightGrey;
|
||||||
border-radius: 0.3em;
|
border-radius: 0.3em;
|
||||||
|
|
||||||
td {
|
td {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
line-height: 1em;
|
|
||||||
background-color: #fbfbfb;
|
background-color: #fbfbfb;
|
||||||
|
|
||||||
&:hover, &.active {
|
&:hover, &.active {
|
||||||
|
|
Loading…
Reference in New Issue