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 { ...@@ -14525,6 +14525,7 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover {
14525 .dataTables_wrapper { 14525 .dataTables_wrapper {
14526 display: flex; 14526 display: flex;
14527 flex-wrap: wrap; 14527 flex-wrap: wrap;
14528 justify-content: center;
14528 } 14529 }
14529 .dataTables_wrapper table { 14530 .dataTables_wrapper table {
14530 flex-basis: 100%; 14531 flex-basis: 100%;
...@@ -14571,11 +14572,10 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover { ...@@ -14571,11 +14572,10 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover {
14571 font-family: Helvetica; 14572 font-family: Helvetica;
14572 padding: 0.5rem 0; 14573 padding: 0.5rem 0;
14573 } 14574 }
14574 14575 .dataTables_wrapper .sorting_asc {
14575 .sorting_asc {
14576 position: relative; 14576 position: relative;
14577 } 14577 }
14578 .sorting_asc:after { 14578 .dataTables_wrapper .sorting_asc:after {
14579 content: ""; 14579 content: "";
14580 background: url(/wp-content/themes/commonwell-broker/images/arrow.png); 14580 background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
14581 display: inline-block; 14581 display: inline-block;
...@@ -14587,8 +14587,7 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover { ...@@ -14587,8 +14587,7 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover {
14587 top: 4px; 14587 top: 4px;
14588 left: 5px; 14588 left: 5px;
14589 } 14589 }
14590 14590 .dataTables_wrapper .sorting:after {
14591 .sorting:after {
14592 content: ""; 14591 content: "";
14593 display: inline-block; 14592 display: inline-block;
14594 width: 20px; 14593 width: 20px;
...@@ -14598,15 +14597,13 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover { ...@@ -14598,15 +14597,13 @@ a.pdf:hover, a.extern:hover, a.xls:hover, a.mailto:hover {
14598 top: 4px; 14597 top: 4px;
14599 left: 5px; 14598 left: 5px;
14600 } 14599 }
14601 14600 .dataTables_wrapper #DataTables_Table_0_length {
14602 #DataTables_Table_0_length {
14603 display: none; 14601 display: none;
14604 } 14602 }
14605 14603 .dataTables_wrapper .sorting_desc {
14606 .sorting_desc {
14607 position: relative; 14604 position: relative;
14608 } 14605 }
14609 .sorting_desc:after { 14606 .dataTables_wrapper .sorting_desc:after {
14610 content: ""; 14607 content: "";
14611 background: url(/wp-content/themes/commonwell-broker/images/arrow.png); 14608 background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
14612 display: inline-block; 14609 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 { ...@@ -307,6 +307,7 @@ a.pdf, a.extern, a.xls, a.mailto {
307 .dataTables_wrapper { 307 .dataTables_wrapper {
308 display: flex; 308 display: flex;
309 flex-wrap: wrap; 309 flex-wrap: wrap;
310 justify-content: center;
310 table { 311 table {
311 flex-basis: 100%; 312 flex-basis: 100%;
312 width: 100%; 313 width: 100%;
...@@ -354,55 +355,55 @@ a.pdf, a.extern, a.xls, a.mailto { ...@@ -354,55 +355,55 @@ a.pdf, a.extern, a.xls, a.mailto {
354 font-family: Helvetica; 355 font-family: Helvetica;
355 padding: 0.5rem 0; 356 padding: 0.5rem 0;
356 } 357 }
357 } 358 .sorting_asc {
358
359 .sorting_asc {
360 position: relative;
361 &:after {
362 content: "";
363 background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
364 display: inline-block;
365 width: 20px;
366 height: 20px;
367 background-size: contain;
368 transform: rotate(90deg);
369 position: relative; 359 position: relative;
370 top: 4px; 360 &:after {
371 left: 5px; 361 content: "";
362 background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
363 display: inline-block;
364 width: 20px;
365 height: 20px;
366 background-size: contain;
367 transform: rotate(90deg);
368 position: relative;
369 top: 4px;
370 left: 5px;
371 }
372 } 372 }
373 } 373
374 374 .sorting {
375 .sorting { 375 &:after {
376 &:after { 376 content: "";
377 content: ""; 377 display: inline-block;
378 display: inline-block; 378 width: 20px;
379 width: 20px; 379 height: 20px;
380 height: 20px; 380 background-size: contain;
381 background-size: contain; 381 position: relative;
382 position: relative; 382 top: 4px;
383 top: 4px; 383 left: 5px;
384 left: 5px; 384 }
385 } 385 }
386 } 386
387 387 #DataTables_Table_0_length {
388 #DataTables_Table_0_length { 388 display: none;
389 display: none; 389 }
390 } 390
391 391 .sorting_desc {
392 .sorting_desc {
393 position: relative;
394 &:after {
395 content: "";
396 background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
397 display: inline-block;
398 width: 20px;
399 height: 20px;
400 background-size: contain;
401 transform: rotate(-90deg);
402 position: relative; 392 position: relative;
403 top: 4px; 393 &:after {
404 left: 5px; 394 content: "";
395 background: url(/wp-content/themes/commonwell-broker/images/arrow.png);
396 display: inline-block;
397 width: 20px;
398 height: 20px;
399 background-size: contain;
400 transform: rotate(-90deg);
401 position: relative;
402 top: 4px;
403 left: 5px;
404 }
405 } 405 }
406
406 } 407 }
407 408
408 .postal-search-results tbody tr:first-of-type { 409 .postal-search-results tbody tr:first-of-type {
......