542aa637 by Jeremy Groot

fix to datatable pagination

1 parent ccdb6183
......@@ -14525,6 +14525,7 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover {
.dataTables_wrapper {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.dataTables_wrapper table {
flex-basis: 100%;
......@@ -14571,11 +14572,10 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover {
font-family: Helvetica;
padding: 0.5rem 0;
}
.sorting_asc {
.dataTables_wrapper .sorting_asc {
position: relative;
}
.sorting_asc:after {
.dataTables_wrapper .sorting_asc:after {
content: "";
background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
display: inline-block;
......@@ -14587,8 +14587,7 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover {
top: 4px;
left: 5px;
}
.sorting:after {
.dataTables_wrapper .sorting:after {
content: "";
display: inline-block;
width: 20px;
......@@ -14598,15 +14597,13 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover {
top: 4px;
left: 5px;
}
#DataTables_Table_0_length {
.dataTables_wrapper #DataTables_Table_0_length {
display: none;
}
.sorting_desc {
.dataTables_wrapper .sorting_desc {
position: relative;
}
.sorting_desc:after {
.dataTables_wrapper .sorting_desc:after {
content: "";
background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
display: inline-block;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -307,6 +307,7 @@ a.pdf, a.extern, a.xls, a.mailto {
.dataTables_wrapper {
display: flex;
flex-wrap: wrap;
justify-content: center;
table {
flex-basis: 100%;
width: 100%;
......@@ -354,55 +355,55 @@ a.pdf, a.extern, a.xls, a.mailto {
font-family: Helvetica;
padding: 0.5rem 0;
}
}
.sorting_asc {
position: relative;
&:after {
content: "";
background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
display: inline-block;
width: 20px;
height: 20px;
background-size: contain;
transform: rotate(90deg);
.sorting_asc {
position: relative;
top: 4px;
left: 5px;
&:after {
content: "";
background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
display: inline-block;
width: 20px;
height: 20px;
background-size: contain;
transform: rotate(90deg);
position: relative;
top: 4px;
left: 5px;
}
}
}
.sorting {
&:after {
content: "";
display: inline-block;
width: 20px;
height: 20px;
background-size: contain;
position: relative;
top: 4px;
left: 5px;
.sorting {
&:after {
content: "";
display: inline-block;
width: 20px;
height: 20px;
background-size: contain;
position: relative;
top: 4px;
left: 5px;
}
}
}
#DataTables_Table_0_length {
display: none;
}
.sorting_desc {
position: relative;
&:after {
content: "";
background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
display: inline-block;
width: 20px;
height: 20px;
background-size: contain;
transform: rotate(-90deg);
#DataTables_Table_0_length {
display: none;
}
.sorting_desc {
position: relative;
top: 4px;
left: 5px;
&:after {
content: "";
background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
display: inline-block;
width: 20px;
height: 20px;
background-size: contain;
transform: rotate(-90deg);
position: relative;
top: 4px;
left: 5px;
}
}
}
.postal-search-results tbody tr:first-of-type {
......